%N plotone %F $MIR/src/subs/plotone.for
%D Plot one or more set of x,y points on a single graph
%P lgm
%: plotting, pgplot, points
%B
      subroutine PlotOne(nvals,x,dim1,dim2,npls,yarr,xlab,ylab,glab,
     -                   device)

 Makes a x,y line plot of a set of points. Multiple x,y data sets
 are drawn on the same plot page and are distinguished by different
 colors (if available on plot device) or line styles. Routine does
 automatic plot scaling and all calls to PGPLOT.

 Arguments:

 NVALS (input, integer): number of points in each data set to plot
 X (input, real)       : values for x-axis
 dim1 (input, integer) : actual first dimension of YARR
 dim2 (input, integer) : actual second dimension of YARR
 npls (input, integer) : number of data sets to be plotted
 yarr (input, real)    : array of y values, (npls,nvals)
 xlab (input, char)    : label for x-axis
 ylab (input, char)    : label for y axis
 glab (input, char)    : label for the global plot
 device(input, char)   : plot device name
