ncl_pcseti man page

PCSETI — Sets the value of an internal parameter of type INTEGER or REAL.



C-Binding Synopsis

#include <ncarg/ncargC.h>

void c_pcseti (char *pnam, int ival)


(an input constant or variable of type CHARACTER) specifies the name of the parameter to be set. The name must appear as the first two characters of the string. If the internal parameter is one of the two (´BC´ and ´CC´) that are arrays, the index of the desired array element may appear, enclosed in parentheses, in columns 3 and following. Other characters may be used to document the use of the parameter being retrieved; for example, instead of just ´MA´, one can use ´MA - MAPPING FLAG´ and, instead of ´CC(10)´, one can use ´CC(10) - SPECIAL COLOR 10´.
(an input expression of type INTEGER) is the value to be assigned to the internal parameter specified by PNAM. If the internal parameter is of type INTEGER, the value given to it is IVAL. If the internal parameter is of type REAL, the value given to it is REAL(IVAL).

C-Binding Description

The C-binding argument descriptions are the same as the FORTRAN argument descriptions.


This routine allows you to set the current value of Plotchar parameters. For a complete list of parameters available in this utility, see the plotchar_params man page.


Use the ncargex command to see the following relevant examples: cpex01, cpex09, cpexcc, epltch, srex01, vvexcc. fcell0, fcoord1, fcoord2, fgkgpm, fgpm01, fngwsym, fpcfonts, fpchiqu.


To use PCSETI or c_pcseti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

See Also

Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr, pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcsetr, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version