Scilab Function
Last update : 23/10/2007

xfpoly - remplit un polygone

Calling Sequence

xfpoly(xv,yv,[close])

Parameters

Description

xfpoly remplit un polygone avec la couleur courante. Si close est égal à  1, un point est ajouté à  la ligne brisée xv,yv pour définir un polygone.

Examples

x=sin(2*%pi*(0:4)/5);
y=cos(2*%pi*(0:4)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xset("color",5)
xfpoly(x,y)

// News graphics only
e=gce(); // get the current entity (the last created: here the polyline)
e.fill_mode='off';
e.closed = 'off' // the polyline is now open
xset("default")
 

See Also

xfpolys ,   xpoly ,   xpolys ,  

Author

J.Ph.C.