1DPSETI(3NCARG) NCAR GRAPHICS DPSETI(3NCARG)
2
3
4
6 DPSETI - Sets the value of an internal parameter of type INTEGER or
7 REAL.
8
10 CALL DPSETI (PNAM,IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpseti (char *pnam, int ival)
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 ´DPL´, one can use
23 ´DPL - DASH PATTERN LENGTH´.
24
25 IVAL (an input expression of type INTEGER) is the value to be
26 assigned to the internal parameter specified by PNAM. If
27 the internal parameter is of type INTEGER, the value given
28 to it is IVAL. If the internal parameter is of type REAL,
29 the value given to it is REAL(IVAL).
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 DPSETI or c_dpseti, load the NCAR Graphics libraries ncarg,
45 ncarg_gks, and ncarg_c, preferably in that order.
46
48 Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc,
49 dpgeti, dpgetr, dplast, dpline, dpsetc, dpsetr, dpsmth, dpvect,
50 ncarg_cbind.
51
52 Hardcopy: None.
53
55 Copyright (C) 1987-2007
56 University Corporation for Atmospheric Research
57
58 This documentation is free software; you can redistribute it and/or
59 modify it under the terms of the GNU General Public License as
60 published by the Free Software Foundation; either version 2 of the
61 License, or (at your option) any later version.
62
63 This software is distributed in the hope that it will be useful, but
64 WITHOUT ANY WARRANTY; without even the implied warranty of
65 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
66 General Public License for more details.
67
68 You should have received a copy of the GNU General Public License along
69 with this software; if not, write to the Free Software Foundation,
70 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
71
72
73
74UNIX March 1995 DPSETI(3NCARG)