1DPCURV(3NCARG)                   NCAR GRAPHICS                  DPCURV(3NCARG)
2
3
4

NAME

6       DPCURV - Used to draw a complete curve defined by a sequence of points
7       in the user coordinate system.
8

SYNOPSIS

10       CALL DPCURV (XCPU,YCPU,NPTS)
11

C-BINDING SYNOPSIS

13       #include <ncarg/ncargC.h>
14
15       void c_dpcurv (float *xcpu, float *ycpu, int npts);
16

DESCRIPTION

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

C-BINDING DESCRIPTION

30       The C-binding argument descriptions are the same as the FORTRAN
31       argument descriptions.
32

USAGE

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

EXAMPLES

46       Use the ncargex command to see the following relevant examples: tdshpk.
47

ACCESS

49       To use DPCURV or c_dpcurv, load the NCAR Graphics libraries ncarg,
50       ncarg_gks, and ncarg_c, preferably in that order.
51

SEE ALSO

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-2009
61       University Corporation for Atmospheric Research
62       The use of this Software is governed by a License Agreement.
63
64
65
66UNIX                              March 1995                    DPCURV(3NCARG)
Impressum