1CPCICA(3NCARG) NCAR GRAPHICS CPCICA(3NCARG)
2
3
4
6 CPCICA - Incorporates into a user's cell array color indices determined
7 by examining where the user's contours lie relative to the cell array.
8
10 CALL CPCICA (ZDAT, RWRK, IWRK, ICRA, ICA1, ICAM, ICAN,
11 + XCPF, YCPF, XCQF, YCQF)
12
14 #include <ncarg/ncargC.h>
15
16 void c_cpcica (float *zdat, float *rwrk, int *iwrk,
17 int *icra, int ica1, int icam, int ican, float xcpf,
18 float ycpf, float xcqf, float ycqf)
19
21 The first three arguments are arrays used in the last call to CPRECT,
22 CPSPS1, or CPSPS2, the contents of which must not have been changed
23 since that call.
24
25 ZDAT (REAL array, dimensioned as specified in the last call to
26 CPRECT, CPSPS1, or CPSPS2, input) is the data array.
27
28 RWRK (REAL array, dimensioned as specified in the last call to
29 CPRECT, CPSPS1, or CPSPS2, input/output) is the real
30 workspace array.
31
32 IWRK (INTEGER array, dimensioned as specified in the last call
33 to CPRECT, CPSPS1, or CPSPS2, input/output) is the integer
34 workspace array.
35
36 ICRA (INTEGER array, dimensioned ICA1 by "n", where "n" is
37 greater than or equal to the value of the argument ICAN,
38 input/output) is the user's cell array.
39
40 ICA1 (INTEGER, input) is the first dimension of the FORTRAN
41 array ICRA, which contains the user's cell array.
42
43 ICAM (INTEGER, input) is the first dimension of the user's cell
44 array.
45
46 ICAN (INTEGER, input) is the second dimension of the user's cell
47 array.
48
49 XCPF and YCPF
50 (REAL, input) are the coordinates, in the fractional
51 coordinate system, of a point P. P is the point at that
52 corner of the rectangular area into which the cell array
53 maps that corresponds to the cell (1,1).
54
55 XCQF and YCQF
56 (REAL, input) are the coordinates, in the fractional
57 coordinate system, of a point Q. Q is the point at that
58 corner of the rectangular area into which the cell array
59 maps that corresponds to the cell (ICAM,ICAN).
60
62 The C-binding argument descriptions are the same as the FORTRAN
63 argument descriptions, with the following exceptions:
64
65 icra icra is dimensioned n by ica1 where n is greater than or
66 equal to the value of the argument ican
67
68 ica1 The second dimension of the array icra.
69
71 Use the ncargex command to see the following relevant examples:
72 ccpcica, ccpmovi.
73
75 To use CPCICA or c_cpcica, load the NCAR Graphics libraries ncarg,
76 ncarg_gks, and ncarg_c, preferably in that order.
77
79 See the conpack man page for a description of all Conpack error
80 messages and/or informational messages.
81
83 Online: conpack, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll,
84 cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti,
85 cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect,
86 cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
87
88 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
89
91 Copyright (C) 1987-2009
92 University Corporation for Atmospheric Research
93 The use of this Software is governed by a License Agreement.
94
95
96
97UNIX March 1993 CPCICA(3NCARG)