1DPSETR(3NCARG) NCAR GRAPHICS DPSETR(3NCARG)
2
3
4
6 DPSETR - Sets the value of an internal parameter of type REAL or
7 INTEGER.
8
10 CALL DPSETR (PNAM,RVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpsetr (char *pnam, float rval)
16
18 PNAM (an input constant or variable of type CHARACTER) specifies
19 the name of the parameter to be set. The name must appear
20 as the first three characters of the string. Other
21 characters may be used to document the use of the parameter
22 being set; for example, instead of just ´LS1´, one can use
23 ´LS1 - LABEL SPACING PARAMETER 1´.
24
25 RVAL (an input expression of type REAL) is the value to be
26 assigned to the internal parameter specified by PNAM. If
27 the internal parameter is of type REAL, the value given to
28 it is RVAL. If the internal parameter is of type INTEGER,
29 the value given to it is INT(RVAL).
30
32 The C-binding argument descriptions are the same as the FORTRAN
33 argument descriptions.
34
36 This routine allows you to set the current value of Dashpack
37 parameters. For a complete list of parameters available in this
38 utility, see the dashpack_params man page.
39
41 Use the ncargex command to see the following relevant examples: tdshpk.
42
44 To use DPSETR or c_dpsetr, load the NCAR Graphics libraries ncarg,
45 ncarg_gks, and ncarg_c, preferably in that order.
46
48 See the dashpack man page for a description of all Dashpack error
49 messages and/or informational messages.
50
52 Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc,
53 dpgeti, dpgetr, dplast, dpline, dpsetc, dpseti, dpsmth, dpvect,
54 ncarg_cbind.
55
56 Hardcopy: None.
57
59 Copyright (C) 1987-2007
60 University Corporation for Atmospheric Research
61
62 This documentation is free software; you can redistribute it and/or
63 modify it under the terms of the GNU General Public License as
64 published by the Free Software Foundation; either version 2 of the
65 License, or (at your option) any later version.
66
67 This software is distributed in the hope that it will be useful, but
68 WITHOUT ANY WARRANTY; without even the implied warranty of
69 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
70 General Public License for more details.
71
72 You should have received a copy of the GNU General Public License along
73 with this software; if not, write to the Free Software Foundation,
74 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
75
76
77
78UNIX March 1995 DPSETR(3NCARG)