Previous Up Next

11.10.4  Polygonal lines in the plane: open_polygon

See section 12.9.4 for polygonal lines in space.

The open_polygon command takes as argument a sequence or list of points.

open_polygon returns and draws the polygon line with the given vertices.
Input:

open_polygon(-1,-1+i/2,i,1+i,-i)

Output:

Input:

open_polygon(makelist(x->exp(i*pi*x/3),0,5,1))

Output:


Previous Up Next