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

gpl - Draw line segments connecting a sequence of user-specified coordinate pairs

Access

       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.

C-Binding Synopsis

       #include <ncarg/gks.h>

       void gpolyline(const Gpoint_list *point_list);

Description

       This output primitive draws line segments connecting a sequence of user-specified coordinate pairs.

       N           (Integer, Input) - The number of points in the line to be drawn. N must be larger than one.

       X (N)       (Real  Array,  Input) - The X coordinates (specified in world coordinates) of the N points to
                   be connected by line segments.

       Y (N)       (Real Array, Input) - The Y coordinates (specified in world coordinates) of the N  points  to
                   be connected by line segments.

Name

       gpl - Draw line segments connecting a sequence of user-specified coordinate pairs

See Also

       Online: gsln, gslwsc, gscr, gsplci, gqln, gqlwsc, gqplci, dashline, set, gpolyline

       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version "The Use of X/Y
       Coordinates in NCAR Graphics" SCD User Document"

Synopsis

       CALL GPL (N, X, Y)

Usage

       Note  that  the  coordinate  pairs  must  be  in world coordinates and not user coordinates.  Among other
       things, this means that the log scaling and mirror-imaging features available via the SET  call  and  the
       SPPS functions for drawing lines are not applicable here.

See Also