polygon - define a polygon area



next up previous contents
Next: psf - estimate Up: Commands Previous: pixel_to_ra_dec - convert

polygon - define a polygon area

  polygon[/qualifiers]

Defines polygonal areas by means of the cursor on a pre-displayed image and returns the image and celestial coordinates of all vertices.

polygon/line

A line is drawn between vertices

polygon/fill

The polygonal area specifies is filled with solid colour.

polygon/symbol

Symbol to be used to mark the vertices. Symbols are specified by means of numbers. The correspondence number-symbols is that defined in the PGPLOT package. The default symbol is number 2 (a cross).

Examples:

 
polygon/line                 ! Define a polygonal area and draw straight lines
                             ! between the vertices.
 
polygon/line/fill            ! fill the polygon with the last defined colour.
 
polygon/symbol=3             ! Define a polygonal area marking the vertices
                             ! with symbol number 3 (a star)



Lorella Angelini
Thu 12 Oct 16:28:11 1995