LINE plots a solid curve through a set of coordinate pairs stored in two arrays. Symbols may be inserted at selected intervals and points of curves may be skipped. The coordinates are calculated as follows:
xplotted(i)=(x(i)-xm)/dx, i=ix to n, step k
yplotted(m)=(y(m)-ym)/dy, m=iy to n, step k
The routine SCALE may be used to compute the scale factors xm, dx,
ym, and dy from the x and y arrays.
CALL LINE (x,y,n,k,j,l,ix,iy,xm,dx,ym,dy)
x (R): array containing the x coordinates
y (R): array containing the y coordinates
n (I): number of data points in x and y
(the number of data points in x, y should be equal)
k (I): plot every first (k=1), second (k=2) value etc
(normally k=1)
j (I): plotting symbol spacing flag
> 0 : symbol is plotted at every jth plotted point
connected by lines
= 0 : no symbols, lines only
< 0 : symbol is plotted at every abs(j)th plotted point
with no connecting lines
l (I): plot symbol number (see SYMBOL)
ix,iy (I): starting indexs in array (normally ix,iy=1)
xm (R): minimum value scale factor for x array
dx (R): increment scale factors for x array
ym (R): minimum value scale factor for y array
dy (R): increment scale factors for y array