Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to draw figures of Polygons in SageMath

I want to draw a picture of a polygon in SageMath which will be unfilled i.e I want to draw figures of triangle,square,pentagon,hexagon and so on and then draw a figure with say 100 sides.

I checked the web.

I only found plots of 3d figures ,I want 2d figures .

Is it possible to draw such a figure in SageMath.

Please help me