Name: GRVECT
Purpose: draw line segments or dots
Category: GRAPHICS
File: pgplot.src
Author: T.J. Pearson
Use: see description below.
Description:
SUBROUTINE GRVECT (IDENT,MODE,ABSXY,POINTS,X,Y)
GRPCKG: Draw a line or a set of dots. This routine can be used to
draw a single line-segment, a continuous series of line segments, or
one or more single dots (pixels).
Arguments:
IDENT (input, integer): the plot identifier, as returned by GROPEN.
MODE (input, integer): if MODE=1, a series of line segments is drawn,
starting at the current position, moving to X(1),Y(1), ... and
ending at X(POINTS),Y(POINTS).
If MODE=2, the first vector is blanked, so the line starts at
X(1),Y(1).
If MODE=3, a single dot is placed at each coordinate pair, with
no connecting lines.
ABSXY (input, logical): if TRUE, the coordinates are absolute device
coordinates; if FALSE, they are world coordinates and the
scaling transformation is applied.
POINTS (input, integer): the number of coordinate pairs.
X, Y (input, real arrays, dimensioned POINTS or greater): the
X and Y coordinates of the points.
Updates: Oct 16, 1998: JPT automatically extracted from source.