This routine plots the graph of y against x, with successive (x,y) points being connected by straightline segments.
The call is
CALL PLOTCURV(X,Y,PLOTNAME,FILENAME,IUNIT,N) where X = REAL*8 array dimensioned X(N) of horizontal axes values (input) Y = REAL*8 array dimensioned Y(N) of vertical axes (input) PLOTNAME = CHARACTER*8 name of the plot(input) FILENAME = CHARACTER*12 of the filename in which the plotting program willbe placed (input) IUNIT = The logical unit to which the program will write (input) N = The number of data points (input)
PLOTCURV generates a MATHEMATICA program and places it in the file given by FILENAME. To generate the plot, execute the program within MATHEMATICA.(See Section 18.2 for how to obtain MATHEMATICA.)