L S P L O T / E L S P L O T
These are versions of SPLOT and ESPLOT that allow the size of
the plot to be specified. LSPLOT produces a plot of a single
spectrum, while ESPLOT produces an error bar plot of a spectrum
which has error information.
Command parameters -
XSIZE The size of the plot in X, in metres.
YSIZE The size of the plot in Y, in metres.
SPECTRUM The data to be plotted. If there
is an x-axis data component this will be used to
give the x-axis. If not, the x-axis will just
have to be the numbers from 1 to n.
XSTART The x-value at which plotting is to start.
XEND The x-value at which plotting is to end.
(XSTART and XEND are not required if the
WHOLE keyword is set.)
HIGH The maximum value to be used for the plot.
LOW The minimum value to be used for the plot.
BIAS A value used to displace the plot - BIAS is
effectively a value added to the data before
it is plotted. (It is implemented as a value
subtracted from both HIGH and LOW.)
(HIGH,LOW and BIAS are not required if the
AUTOSCALE keyword is set.)
LABEL A label for the plot.
Command keywords -
AUTOSCALE The program is to work out the values for HIGH
and LOW, using the maximum and minimum values
in the data over the specified range.
WHOLE The program is to display all of the spectrum.
LINES The plot is not done as a histogram, but as
a 'join the dots' line plot. (LSPLOT only)
User variables used:
HARD (Character) The device used for HARD plots.
Note:
The original version of LSPLOT used GKS 6.2 and the DIAGRAM
package. This has now been discontinued, and some of the
functionality of DIAGRAM (the ability to specify the size of
the plot in physical units) has appeared in PGPLOT. This new
version uses PGPLOT. It can produce a plot of the specified
size, BUT only if that size is SMALLER than the default size
for the device. In practice, this means that it can only work
in the way it was intended with `unusual' devices that have
particularly large default plot sizes (which often need to be set
up specially for the purpose).
KS / AAO 30th Jan 1984
FIGARO A general data reduction system