5 The plot data
5.1 Datasets
A dataset is a table with (pairs of) values. Each dataset gets a number, according to its appearance, and
can be given an additional name (see COMMAND SETNAME).
Each dataset is de ned by a block started by a line
N= . . .
and ended by any of these lines
FINISH
COMMAND INCLUDE
COMMAND INFITS
(see Sect. 5.3).
The block consists of the data and COMMANDs. Most of the COMMANDs can address another
dataset (if it already exists at that point), if the COMMAND ends with DATASET=dataset where dataset
is the number or name of that set.
5.2 Headline and plot attributes
-
N=m SYMBOL=n SIZE=x:x PEN=j XYTABLE COLOR=i
-
This is a typical headline of a dataset block. The rst two characters \N=" are mandatory.
All other parameters can be in arbitrary order. If absent, default values are applied.
-
N=m
-
Set the number m of following data points (i.e. pairs of x;y values) or set N =? to read
all data until FINISH is encountered. Note: In case an explicit m is given, there is no
need for a FINISH line.
-
SYMBOL=n
-
(also: PLOTSYMBOL=n) Set the symbol for this dataset (default is 5, see Fig. 5). If
SYMBOL=0, the set will not be plotted but it can be addressed (DATASET=dataset,
calculations, error bars etc.).
-
SIZE = x:x
-
(also SYMBOLSIZE) Set the symbol size (default: 0.3). If the size is negative, the area
enclosed by the curve is lled (for symbols which draw a line), or the symbols are lled
(in case of llable symbols, see Appendix C).
-
HATCHED
-
acts like negative size, but applies a hatched lling of areas (cf. Sect. 3.4.3 for
details).
-
PEN = j
-
Set the line width (default: 1 or the value set in PENDEF).
-
COLOR = i
-
Set the color (i = 0:::9; default: 1 or the value set in DEFAULTCOLOR). If SYMBOL=40
(false color) is set, COLOR refers to the color table (1 to 5):
1= greyscale, 2= blackbody, 3= blue-black-red, 4= blue-white-red, 5= rainbow (see
Fig. 4). Also see nNCOLORSTEP if needed (Sect. 3.4.1).