1CPCHLL(3NCARG) NCAR GRAPHICS CPCHLL(3NCARG)
2
3
4
6 CPCHLL - Called by Conpack routines as contour line labels are drawn.
7 The default version does nothing. A user-written version may be
8 supplied to provide control as the labels are drawn.
9
11 CALL CPCHLL (IFLG)
12
14 IFLG (INTEGER, input) is positive if an action is about to be
15 taken, negative if an action has just been completed. The
16 action in question is defined by the absolute value of
17 IFLG, as follows:
18
19 · The value 1 implies the determination of the size of
20 the label (by means of a call to PLCHHQ, in the
21 package Plotchar, with ANGD=360.).
22
23 · The value 2 implies the filling of the box around
24 the label, which is done before the drawing of the
25 label itself.
26
27 · The value 3 implies the drawing of the label (by
28 means of a call to PLCHHQ, in the package Plotchar).
29
30 · The value 4 implies the drawing of the box around
31 the label, which is done after the drawing of the
32 label itself.
33
35 The routine CPCHLL is not to be called by the user. It is called
36 several times by CPLBAM and/or CPLBDR while each contour-line label is
37 positioned and drawn. The default version of CPCHLL does nothing. A
38 user-supplied replacement may change attributes such as color and line
39 width (by calling the SPPS routine SETUSV or the appropriate GKS
40 routines). The text of the label may be retrieved by means of a "CALL
41 CPGETC ('CTM',CVAL)". The text of the label may be changed by means of
42 a "CALL CPSETC ('CTM',CVAL)"; this should only be done during a call
43 with IFLG = 1 or 3 and, if it is done for one of those values, it
44 should be done for the other.
45
46 When CPCHLL is called, the parameter 'PAI' will have been set to the
47 index of the appropriate contour level. Thus, parameters associated
48 with that level may easily be retrieved by calls to CPGETx.
49
51 To use CPCHLL, load the NCAR Graphics libraries ncarg, ncarg_gks, and
52 ncarg_c, preferably in that order.
53
55 Online: conpack, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpcica,
56 cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti,
57 cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect,
58 cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
59
61 Copyright (C) 1987-2009
62 University Corporation for Atmospheric Research
63
64 The use of this Software is governed by a License Agreement.
65
66
67
68UNIX March 1993 CPCHLL(3NCARG)