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-2009
65 University Corporation for Atmospheric Research
66 The use of this Software is governed by a License Agreement.
67
68
69
70UNIX March 1993 PCSETR(3NCARG)