1PCSETI(3NCARG) NCAR GRAPHICS PCSETI(3NCARG)
2
3
4
6 PCSETI - Sets the value of an internal parameter of type INTEGER or
7 REAL.
8
10 CALL PCSETI (PNAM,IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_pcseti (char *pnam, int ival)
16
18 PNAM (an input constant or variable of type CHARACTER) specifies
19 the name of the parameter to be set. The name must appear
20 as the first two characters of the string. If the internal
21 parameter is one of the two (´BC´ and ´CC´) that are
22 arrays, the index of the desired array element may appear,
23 enclosed in parentheses, in columns 3 and following. Other
24 characters may be used to document the use of the parameter
25 being retrieved; for example, instead of just ´MA´, one can
26 use ´MA - MAPPING FLAG´ and, instead of ´CC(10)´, one can
27 use ´CC(10) - SPECIAL COLOR 10´.
28
29 IVAL (an input expression of type INTEGER) is the value to be
30 assigned to the internal parameter specified by PNAM. If
31 the internal parameter is of type INTEGER, the value given
32 to it is IVAL. If the internal parameter is of type REAL,
33 the value given to it is REAL(IVAL).
34
36 The C-binding argument descriptions are the same as the FORTRAN
37 argument descriptions.
38
40 This routine allows you to set the current value of Plotchar
41 parameters. For a complete list of parameters available in this
42 utility, see the plotchar_params man page.
43
45 Use the ncargex command to see the following relevant examples: cpex01,
46 cpex09, cpexcc, epltch, srex01, vvexcc. fcell0, fcoord1, fcoord2,
47 fgkgpm, fgpm01, fngwsym, fpcfonts, fpchiqu.
48
50 To use PCSETI or c_pcseti, load the NCAR Graphics libraries ncarg,
51 ncarg_gks, and ncarg_c, preferably in that order.
52
54 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr,
55 pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcsetr,
56 ncarg_cbind.
57
58 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
59
61 Copyright (C) 1987-2007
62 University Corporation for Atmospheric Research
63
64 This documentation is free software; you can redistribute it and/or
65 modify it under the terms of the GNU General Public License as
66 published by the Free Software Foundation; either version 2 of the
67 License, or (at your option) any later version.
68
69 This software is distributed in the hope that it will be useful, but
70 WITHOUT ANY WARRANTY; without even the implied warranty of
71 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
72 General Public License for more details.
73
74 You should have received a copy of the GNU General Public License along
75 with this software; if not, write to the Free Software Foundation,
76 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
77
78
79
80UNIX March 1993 PCSETI(3NCARG)