Rev 619 | Rev 3263 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<center><h3>Exemple du dessin dynamique.</h3></center>
Le dessin
!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\
fill 0.5*sin(2*pi/5),0.5*cos(2 *pi/5),green\
fill 0.5*sin(4*pi/5),0.5*cos(4*pi/5),green\
fill 0.5*sin(6*pi/5),0.5*cos(6*pi/5),green\
fill 0.5*sin(8*pi/5),0.5*cos(8*pi/5),green
est généré par la commande suivante.
<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
fill 0.5*sin(2*pi/5),0.5*cos(2 *pi/5),green
fill 0.5*sin(4*pi/5),0.5*cos(4*pi/5),green
fill 0.5*sin(6*pi/5),0.5*cos(6*pi/5),green
fill 0.5*sin(8*pi/5),0.5*cos(8*pi/5),green
}
</pre>
<p>
Generated by GNU Enscript 1.6.5.90.