ncl_cpdrpl - Man Page

Provides a useful polyline-drawer for the routine CPCLDM.

Synopsis

CALL CPDRPL (XCS, YCS, NCS, IAI, IAG, NAI)

Description

XCS

(a REAL array of dimension at least NCS, input) is an  array containing the X coordinates of NCS points defining a  polyline.

YCS

(a REAL array of dimension at least NCS, input) is an  array containing the Y coordinates of NCS points defining a  polyline.

NCS

(INTEGER, input) is the number of points defining the  polyline.

IAI

(an INTEGER array of dimension at least NAI, input) is  an array of area identifiers for the area in which the  polyline lies. For each I from 1 to NAI, IAI(I) is the area  identifier of the area with respect to the edge group  IAG(I).

IAG

(an INTEGER array of dimension at least NAI, input) is  an array of group identifiers. See the description of IAI,  above.

NAI

(INTEGER, input) is the number of area identifiers in  the array IAI and the number of group identifiers in the  array IAG.

Usage

If CPCLDM is called, and the only object of using it, instead of CPCLDR, to draw contour lines is to avoid drawing the lines through labels, then, in the routine which calls CPCLDM, put the declaration

EXTERNAL CPDRPL

and, in the call to CPCLDM, use CPDRPL for the argument RTPL. Each time CPDRPL is called, it draws the polyline defined by its first three arguments if, and only if, none of the area identifiers defined by the other three arguments is negative.

Access

To use CPDRPL, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

See Also

Online: conpack, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Info

March 1993 UNIX NCAR GRAPHICS