The Polygon () form
plots filled or outlined polygons with an arbitrary number of vertices.
The first vertex is given in the
Position Layer Control's
Position tab,
and the others are given in the Coordinates box within the
Form tab.
Example Polygon plot
Polygon form configuration panel
The configuration options are:
(x2,y2, x3,y3, x4,y4)
.
Expression language functions including
array(a,b,c,...)
from the Arrays class, and
parseDoubles(txt)
from the Conversions class,
can be useful here.
Although the first coordinate pair is supposed to be given in the
Position tab and not in this array, if it's more convenient to
repeat the first pair here it doesn't usually affect the plot's
appearance.
outline
:
draws a line round the outside of the polygonfill
:
fills the interior of the polygoncross
:
draws a line round the outside of the polygon
and lines between all the vertices