Scilab Function

xfpolys - fill a set of polygons

Calling Sequence

xfpolys(xpols,ypols,[fill])

Parameters

Description

xfpolys fills a set of polygons of the same size defined by the two matrices xpols and ypols. The coordinates of each polygon are stored in a column of xpols and ypols.

The pattern for filling polygon number i is given by fill(i):

  • - if fill(i)<0, the polygon is filled with pattern id -fill(i).
  • - if fill(i)=0, the polygon is drawn with the current dash style (or current color).
  • - if fill(i)>0, the polygon is filled with pattern id fill(i). Then its contour is drawn with the current dash (or color) and closed if necessary.
  • Examples

    See Also

    Author