1PCPNWI(3NCARG) NCAR GRAPHICS PCPNWI(3NCARG)
2
3
4
6 PCPNWI - A function of type CHARACTER*16.
7
9 CHARACTER*16 PCPNWI,ENAM
10 ENAM = PCPNWI (PNAM,IPAI)
11
13 #include <ncarg/ncargC.h>
14
15 void c_pcpnwi (char *pnam, int *ipai)
16
18 PNAM (an input constant or variable of type CHARACTER) is a
19 character string, the first two characters of which are the
20 name of an internal parameter array of Plotchar (currently,
21 ´BC´ or ´CC´).
22
23 IPAI (an input expression of type INTEGER) is an integer
24 expression specifying the index of that element of the
25 internal parameter array of which one wants the name.
26
27 Given the above two arguments, the value of PCPNWI(PNAM,IPAI) is that
28 character string which serves as the name of element IPAI of the
29 internal parameter array identified by PNAM.
30
31 For example, if IPAI has the value 3, then the value of
32 "PCPNWI('CC',IPAI)" is the character string 'CC(3)' (padded with blanks
33 to the right) and the call "CALL PCSETI (PCPNWI('CC',IPAI),62)" would
34 give the value 62 to the third element of the parameter array 'CC'.
35
37 The C-binding argument descriptions are the same as the FORTRAN
38 argument descriptions.
39
41 This routine generates parameter names for use in calls to other
42 routines. For a complete list of parameters available in this utility,
43 see the plotchar_params man page.
44
46 To use PCPNWI or c_pcpnwi, load the NCAR Graphics libraries ncarg,
47 ncarg_gks, and ncarg_c, preferably in that order.
48
50 See the plotchar page for a description of all Plotchar error messages
51 and/or informational messages.
52
54 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr,
55 pchiqu, pcloqu, pcmequ, pcmpxy, 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 PCPNWI(3NCARG)