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
Merge branch 'rtoy-wrap-option-args'
[maxima.git]
/
doc
/
info
/
figures
/
draw_rectangle.mac
blob
004ddc49fb29e124c1b77cf651b5318fb512458d
1
load("docdraw.mac");
2
3
docdraw2d("figures/draw_rectangle",
4
fill_color = red,
5
line_width = 6,
6
line_type = dots,
7
transparent = false,
8
fill_color = blue,
9
rectangle([-2,-2],[8,-1]), /* opposite vertices */
10
transparent = true,
11
line_type = solid,
12
line_width = 1,
13
rectangle([9,4],[2,-1.5]),
14
xrange = [-3,10],
15
yrange = [-3,4.5] )$