1DPCURV(3NCARG) NCAR GRAPHICS DPCURV(3NCARG)
2
3
4
6 DPCURV - Used to draw a complete curve defined by a sequence of points
7 in the user coordinate system.
8
10 CALL DPCURV (XCPU,YCPU,NPTS)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpcurv (float *xcpu, float *ycpu, int npts);
16
18 XCPU (an input array of type REAL) specifies the X coordinates
19 of points in the user coordinate system defining a curve to
20 be drawn.
21
22 YCPU (an input array of type REAL) specifies the Y coordinates
23 of points in the user coordinate system defining a curve to
24 be drawn.
25
26 NPTS (an input expression of type INTEGER) specifies the number
27 of points defining the curve.
28
30 The C-binding argument descriptions are the same as the FORTRAN
31 argument descriptions.
32
34 The FORTRAN statement "CALL DPCURV(XCPU,YCPU,NPTS)" draws a complete
35 curve by connecting the point (XCPU(1),YCPU(1)) to the point
36 (XCPU(2),YCPU(2)), connecting that point to the point
37 (XCPU(3),YCPU(3)), and so on, through the last point,
38 (XCPU(NPTS),YCPU(NPTS)), in a manner described by the current values of
39 the internal parameters of DASHPACK.
40
41 DPCURV maps the input coordinates to the fractional system and then
42 passes them on to lower-level routines. If smoothing is turned off,
43 DPCURV calls DPDRAW; if smoothing is turned on, it calls DPSMTH.
44
46 Use the ncargex command to see the following relevant examples: tdshpk.
47
49 To use DPCURV or c_dpcurv, load the NCAR Graphics libraries ncarg,
50 ncarg_gks, and ncarg_c, preferably in that order.
51
53 Online: dashpack, dashpack_params, dpdraw, dpfrst, dpgetc, dpgeti,
54 dpgetr, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect,
55 ncarg_cbind.
56
57 Hardcopy: None.
58
60 Copyright (C) 1987-2007
61 University Corporation for Atmospheric Research
62
63 This documentation is free software; you can redistribute it and/or
64 modify it under the terms of the GNU General Public License as
65 published by the Free Software Foundation; either version 2 of the
66 License, or (at your option) any later version.
67
68 This software is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
71 General Public License for more details.
72
73 You should have received a copy of the GNU General Public License along
74 with this software; if not, write to the Free Software Foundation,
75 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79UNIX March 1995 DPCURV(3NCARG)