1CPSETR(3NCARG) NCAR GRAPHICS CPSETR(3NCARG)
2
3
4
6 CPSETR - Sets the value of an internal parameter of type REAL or
7 INTEGER.
8
10 CALL CPSETR (PNAM, RVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_cpsetr (char *pnam, float rval)
16
18 PNAM (CHARACTER, input) is the name of a parameter to be given a
19 real value. Only the first three characters of PNAM are
20 examined. It is recommended that the rest of the character
21 string be used to improve the readability of the code. For
22 example, instead of 'CIS', use 'CIS - CONTOUR INTERVAL
23 SPECIFIER'.
24
25 RVAL (REAL, input) is an expression, the value of which is to be
26 given to the parameter specified by PNAM. If the internal
27 parameter is of type REAL, the value given to it is RVAL.
28 If the internal parameter is of type INTEGER, the value
29 given to it is INT(RVAL).
30
32 The C-binding argument descriptions are the same as the FORTRAN
33 argument descriptions.
34
36 This routine allows you to set the current value of Conpack parameters.
37 For a complete list of parameters available in this utility, see the
38 conpack_params man page.
39
41 Use the ncargex command to see the following relevant examples: caredg,
42 ccpcfx, ccpcica, ccpcir, ccpcis, ccpcit, ccpcll, ccpclu, ccpga,
43 ccphand, ccphcf, ccphl, ccphlt, ccpila, ccpils, ccpilt, ccplbam,
44 ccpline, ccpllc, ccplll, ccpllp, ccpllt, ccpllw, ccpmap, ccpmovi,
45 ccpmpxy, ccpnsd, ccppc1, ccppc2, ccppc3, ccppc4, ccppkcl, ccppole,
46 ccprc, ccpscam, ccpset, ccpsps2, ccpspv, ccpt2d, ccpvp, colcon, cpex01,
47 cpex02, cpex03, cpex04, cpex05, cpex06, cpex07, cpex08, cpex09, cbex01,
48 vvex01, tconpa, fcover, ffex03, ffex05, fsfsgfa.
49
51 To use CPSETR or c_cpsetr, load the NCAR Graphics libraries ncarg,
52 ncarg_gks, and ncarg_c, preferably in that order.
53
55 See the conpack man page for a description of all Conpack error
56 messages and/or informational messages.
57
59 Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl,
60 cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl,
61 cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw,
62 cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsprs, cpsps2,
63 ncarg_cbind
64
65 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
66
68 Copyright (C) 1987-2007
69 University Corporation for Atmospheric Research
70
71 This documentation is free software; you can redistribute it and/or
72 modify it under the terms of the GNU General Public License as
73 published by the Free Software Foundation; either version 2 of the
74 License, or (at your option) any later version.
75
76 This software is distributed in the hope that it will be useful, but
77 WITHOUT ANY WARRANTY; without even the implied warranty of
78 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
79 General Public License for more details.
80
81 You should have received a copy of the GNU General Public License along
82 with this software; if not, write to the Free Software Foundation,
83 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
84
85
86
87
88UNIX March 1993 CPSETR(3NCARG)