Rev 23 |
Blame |
Last modification |
View Log
| RSS feed
<center><h3>Example of dynamic drawing.</h3></center>
The picture
!set insdraw_size=150,150
!set ins_align=middle
!insdraw xrange -1.2,1.2\
yrange -1.2,1.2\
fill 0,0,skyblue\
linewidth 2\
polygon red
,0,1,sin(4*pi/5),cos(4*pi/5),sin(8*pi/5),cos(8*pi/5),sin(2*pi/5),cos(2*pi/5),sin(6*pi/5),cos(6*pi/5)\
fill 0,0,gold\
fill 0,0.5,green\
is generated by the following command.
<pre>
\draw{150,150}{xrange -1.2,1.2
yrange -1.2,1.2
fill 0,0,skyblue
linewidth 2
polygon red
,0,1,sin(4*pi/5),cos(4*pi/5),sin(8*pi/5),cos(8*pi/5),sin(2*pi/5),cos(2*pi/5),sin(6*pi/5),cos(6*pi/5)
fill 0,0,gold
fill 0,0.5,green
}
</pre>
!href cmd=help&special_parm=draw Syntax of the commands.
<p>