GPoly:

Path: Common/Graphics

% Graphical interface to create a polygon.

 The user clicks with the mouse to create points on a polygon. When the
 last point is within the threshold of the first the polygon is
 determined to be closed.

--------------------------------------------------------------------------
   Form:
   p = GPoly
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   None

   -------   
   Outputs
   -------
   p       (2,:)   Matrix of polygon vertices

--------------------------------------------------------------------------

Back to the Common Module page