logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Access

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

C-Binding Description

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

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_dpcurv (float *xcpu, float *ycpu, int npts);

Description

       XCPU        (an  input  array  of type REAL) specifies the X coordinates of points in the user coordinate
                   system defining a curve to be drawn.

       YCPU        (an input array of type REAL) specifies the Y coordinates of points in  the  user  coordinate
                   system defining a curve to be drawn.

       NPTS        (an input expression of type INTEGER) specifies the number of points defining the curve.

Examples

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

Name

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

See Also

       Online: dashpack, dashpack_params, dpdraw,  dpfrst,  dpgetc,  dpgeti,  dpgetr,  dplast,  dpline,  dpsetc,
       dpseti, dpsetr, dpsmth, dpvect, ncarg_cbind.

       Hardcopy: None.

Synopsis

       CALL DPCURV (XCPU,YCPU,NPTS)

Usage

       The  FORTRAN  statement  "CALL  DPCURV(XCPU,YCPU,NPTS)"  draws  a  complete curve by connecting the point
       (XCPU(1),YCPU(1)) to the point (XCPU(2),YCPU(2)), connecting that point to the  point  (XCPU(3),YCPU(3)),
       and  so  on, through the last point, (XCPU(NPTS),YCPU(NPTS)), in a manner described by the current values
       of the internal parameters of DASHPACK.

       DPCURV maps the input coordinates to the fractional  system  and  then  passes  them  on  to  lower-level
       routines.  If smoothing is turned off, DPCURV calls DPDRAW; if smoothing is turned on, it calls DPSMTH.

See Also