1PCSETC(3NCARG) NCAR GRAPHICS PCSETC(3NCARG)
2
3
4
6 PCSETC - Gives a new character value to a specified internal parameter.
7
9 CALL PCSETC (PNAM,CVAL)
10
12 #include <ncarg/ncargC.h>
13
14 void c_pcsetc (char *pnam, char *cval)
15
17 PNAM (an input constant or variable of type CHARACTER) specifies
18 the name of the parameter to be set. The name must appear
19 as the first two characters of the string. If the internal
20 parameter is one of the two (´BC´ and ´CC´) that are
21 arrays, the index of the desired array element may appear,
22 enclosed in parentheses, in columns 3 and following. Other
23 characters may be used to document the use of the parameter
24 being retrieved; for example, instead of just ´MA´, one can
25 use ´MA - MAPPING FLAG´ and, instead of ´CC(10)´, one can
26 use ´CC(10) - SPECIAL COLOR 10´.
27
28 CVAL (an input constant or variable of type CHARACTER) is the
29 value to be assigned to the internal parameter specified by
30 PNAM.
31
33 The C-binding argument descriptions are the same as the FORTRAN
34 argument descriptions.
35
37 This routine allows you to set the current value of Plotchar
38 parameters. For a complete list of parameters available in this
39 utility, see the plotchar_params man page.
40
42 Use the ncargex command to see the following relevant examples: coex02,
43 coex03, epltch, fcoord1, fcoord2, fpcfonts, fpchiqu, fslfont.
44
46 To use PCSETC or c_pcsetc, load the NCAR Graphics libraries ncarg,
47 ncarg_gks, and ncarg_c, preferably in that order.
48
50 See the plotchar man page for a description of all Plotchar error
51 messages and/or informational messages.
52
54 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr,
55 pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcseti, 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 PCSETC(3NCARG)