24.9.3 General polygons in the plane
See Section
25.8.3
for general polygons in space.
The
polygon
command draws general polygons.
polygon
takes
points
, a sequence or list of points.
polygon(
points
)
returns and draws the polygon with vertices given by the points.
Examples
polygon
(-1,-1+
i
/2,
i
,1+
i
,-
i
)
polygon
(
makelist
(
x
->
exp
(
i
*
pi
*
x
/3),0,5,1))