NhlNDCPolygon

This procedure is used to draw a polygon using NDC units. (See NhlNDCPolygon.)


Synopsis

	procedure NhlNDCPolygon( 
		objs[*]: graphic,
		style[*]:graphic
		x[*]: float,
		y[*]: float
	)

Arguments

objs
An array of HLU plot objects.
style
Either one HLU style object or an array with the same dimensions as the objs parameter.
x
The X coordinates of the polygon in NDC units.
y
The Y coordinates of the polygon in NDC units.

Description

NhlNDCPolygon draws the polygon defined by the pair of vectors x and y using either a single style object or the corresponding style object from the style parameter. The vectors x and y contain values in NDC units. The coordinates are drawn as a polygon clipped to the viewports of each HLU plot object in the objs array. The difference between the NCL version and the HLU version is that the NCL version draws the polygon over one or more HLU plot objects using one or more styles, and the NCL version does not need the length of the x and y parameters because this information is inherent in NCL data. In the HLU version, NULL can be used to use the default graphic style object. In NCL, however, the default style object must be retrieved from the workstation parent using the wkDefGraphicStyleId resource and the getvalues statement. For more information on controlling how the polygon is drawn and filled, see the GraphicStyle class description.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.6 $ $Date: 1998/09/17 16:10:45 $