1PCGETI(3NCARG) NCAR GRAPHICS PCGETI(3NCARG)
2
3
4
6 PCGETI - Retrieves the integral value of an internal parameter of type
7 INTEGER or REAL.
8
10 CALL PCGETI (PNAM,IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_pcgeti (char *pnam, int *ival)
16
18 PNAM (an input constant or variable of type CHARACTER) specifies
19 the name of the parameter to get. The name must appear as
20 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 output variable of type INTEGER) is the name of the
30 variable into which the value of the internal parameter
31 specified by PNAM is to be retrieved. If the internal
32 parameter is a value "i" of type INTEGER, the value
33 returned is "i". If the internal parameter is a value "r"
34 of type REAL, the value returned is "INT(r)".
35
37 The C-binding argument descriptions are the same as the FORTRAN
38 argument descriptions.
39
41 This routine allows you to retrieve the current value of Plotchar
42 parameters. For a complete list of parameters available in this
43 utility, see the plotchar_params man page.
44
46 Use the ncargex command to see the following relevant examples: cpexcc,
47 vvexcc.
48
50 To use PCGETI or c_pcgeti, load the NCAR Graphics libraries ncarg,
51 ncarg_gks, and ncarg_c, preferably in that order.
52
54 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgetr, pchiqu,
55 pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcseti, pcsetr,
56 ncarg_cbind.
57
58 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
59
61 Copyright (C) 1987-2009
62 University Corporation for Atmospheric Research
63 The use of this Software is governed by a License Agreement.
64
65
66
67UNIX March 1993 PCGETI(3NCARG)