Sets the value of an internal parameter of type integer or real.
CALL DPSETI (PNAM,IVAL)
#include <ncarg/ncargC.h>
void c_dpseti (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 three characters of the string. Other characters may be used to document the use of the parameter being set; for example, instead of just \'DPL\', one can use \'DPL - DASH PATTERN LENGTH\'.
(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).
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
This routine allows you to set the current value of Dashpack parameters. For a complete list of parameters available in this utility, see the dashpack_params man page.
Use the ncargex command to see the following relevant examples: tdshpk.
To use DPSETI or c_dpseti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc, dpgeti, dpgetr, dplast, dpline, dpsetc, dpsetr, dpsmth, dpvect, ncarg_cbind.
Hardcopy: None.
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.