|
|
Getting Started
Before launching into a full description of the GRP commands and what
they do this section will give you some idea of how you make plots
using GRP. In general the following sequence must be used:
- Activate graphics device and select area of plotting surface
required.
- Access data to be plotted.
- Set up a coordinate system and plot the data including axes,
histograms etc.
- Deactivate and close down the graphics device.
As an example the simplest way to plot a light curve on a X window,
using all the defaults and without fancy annotation etc. is as
follows:
qcl>OPEN xw
qcl>HDS_NODE=<filename>
qcl>XYHDS
qcl>XYAHIS 0
qcl>CLOSE
The parameters for XYHDS have not been included in the command line
and will therefore be prompted for. The parameter 0 used in XYAHIS
specifies that the lines of the histogram will drawn solid rather than
some other fancy dashed pattern. The final CLOSE command will not only
complete the plotting but will also automatically close the output
device (necessary when producing postscript files). The four phases of
plotting remain the same whatever you might be doing but of course to
do complicated things requires more commands.
[Next: GRP Commands]
[Previous: Introduction]
[Back to Contents]
|