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-2007
92 University Corporation for Atmospheric Research
93
94 This documentation is free software; you can redistribute it and/or
95 modify it under the terms of the GNU General Public License as
96 published by the Free Software Foundation; either version 2 of the
97 License, or (at your option) any later version.
98
99 This software is distributed in the hope that it will be useful, but
100 WITHOUT ANY WARRANTY; without even the implied warranty of
101 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
102 General Public License for more details.
103
104 You should have received a copy of the GNU General Public License along
105 with this software; if not, write to the Free Software Foundation,
106 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
107
108
109
110UNIX March 1993 CPCICA(3NCARG)