repo.or.cz
/
maxima.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add note that the lapack package needs to loaded to get the functions.
[maxima.git]
/
doc
/
info
/
figures
/
draw_transform.mac
blob
6bd3130c0200d192db57e1bfaa2e40201505d217
1
load("docdraw.mac");
2
3
4
th:%pi/4;
5
6
docdraw2d("figures/draw_transform",
7
color = "#e245f0",
8
proportional_axes = 'xy,
9
line_width = 8,
10
triangle([3,2],[7,2],[5,5]),
11
border = false,
12
fill_color = yellow,
13
transform = [cos(th)*x - sin(th)*y,
14
sin(th)*x + cos(th)*y, x, y],
15
triangle([3,2],[7,2],[5,5]) )$