NhlDataPolyline
This procedure is used to draw a polyline using data coordinates.
(See NhlDataPolyline.)
Synopsis
procedure NhlDataPolyline(
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 data coordinates of the polyline in data coordinates.
- y
- The Y data coordinates of the polyline in data coordinates.
Description
NhlDataPolyline draws the polyline 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 data coordinates. The coordinates are mapped using the HLU object's data transformation and drawn as a polyline 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 polyline 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 polyline is drawn, see the
GraphicStyle
class description.
Reference Manual Control Panel
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?
$Revision: 1.13 $ $Date: 1998/06/15 21:28:34 $