next up previous contents index
Next: SUBROUTINE LINSEQ Up: Description of Plotting Previous: SUBROUTINE LINE

SUBROUTINE LINE2

 LINE2 is similar to line but, when connecting points, when the distance between two x values is larger than ddx, does not plot the connecting line.

CALL LINE2 (x,y,n,k,j,l,ix,iy,xm,dx,ym,dy,ddx)

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
ddx   (R): distance threshold for x



David Long
Wed Jun 12 10:34:11 MDT 1996