Sets the value of an internal parameter of type real or integer.
CALL DPSETR (PNAM,RVAL)
#include <ncarg/ncargC.h>
void c_dpsetr (char *pnam, float rval)
(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 \'LS1\', one can use \'LS1 - LABEL SPACING PARAMETER 1\'.
(an input expression of type REAL) is the value to be assigned to the internal parameter specified by PNAM. If the internal parameter is of type REAL, the value given to it is RVAL. If the internal parameter is of type INTEGER, the value given to it is INT(RVAL).
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 DPSETR or c_dpsetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
See the dashpack man page for a description of all Dashpack error messages and/or informational messages.
Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc, dpgeti, dpgetr, dplast, dpline, dpsetc, dpseti, 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.