Polygon Command Example
Details
Action
Draws and fills a polygon in the selected 2D graph window.
This command allows the user to draw filled polygons by clicking on the window
at the vertices.
command stars (ex num) [color ex col fillcolor col] {
let v be getpoints(true,num);
plot polygon v;
}