1PCSETR(3NCARG) NCAR GRAPHICS PCSETR(3NCARG)
2
3
4
6 PCSETR - Sets the value of an internal parameter of type REAL or
7 INTEGER.
8
10 CALL PCSETR (PNAM,RVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_pcsetr (char *pnam, float rval)
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 RVAL (an input expression of type REAL) is the value to be
30 assigned to the internal parameter specified by PNAM. If
31 the internal parameter is of type REAL, the value given to
32 it is RVAL. If the internal parameter is of type INTEGER,
33 the value given to it is INT(RVAL).
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: elblba,
46 cbex01, epltch, tconpa, tlblba, fpcfonts, fpchiqu.
47
49 To use PCSETR or c_pcsetr, load the NCAR Graphics libraries ncarg,
50 ncarg_gks, and ncarg_c, preferably in that order.
51
53 See the plotchar man page for a description of all Plotchar error
54 messages and/or informational messages.
55
57 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr,
58 pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcseti,
59 ncarg_cbind.
60
61 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
62
64 Copyright (C) 1987-2007
65 University Corporation for Atmospheric Research
66
67 This documentation is free software; you can redistribute it and/or
68 modify it under the terms of the GNU General Public License as
69 published by the Free Software Foundation; either version 2 of the
70 License, or (at your option) any later version.
71
72 This software is distributed in the hope that it will be useful, but
73 WITHOUT ANY WARRANTY; without even the implied warranty of
74 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
75 General Public License for more details.
76
77 You should have received a copy of the GNU General Public License along
78 with this software; if not, write to the Free Software Foundation,
79 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
80
81
82
83UNIX March 1993 PCSETR(3NCARG)