KUPLOT reads data sets using the 'load' command. The simplest file format is a text file containing values for x and y on a separate line for each data point as in the previous example. To read more than one data set just repeat the 'load' command. The maximum number of data sets that can be read and the maximum total number of data points are defined in the file 'kuplot.inc' and might be adjusted before KUPLOT is compiled. The current limits can be displayed using the command 'show config'. The 'rese' command clears the currently loaded data sets and the next file is read as data set one again.
|
The various file formats for 1D data supported by KUPLOT are
summarized in Table 2.1. The file format is specified as
first parameter for the 'load' command followed by the name of the
file to be read. Note that the 'xy' and 'yx' formats may contain
standard deviations
for each data point which may be
used to plot error bars using the 'etyp' command in KUPLOT.
After a data set is read, KUPLOT displays the number of points read and the x- and y-limits. In our previous example, the screen output after entering the 'load xy,test.xy' looks like that:
Reading 2 columns ...
Data set no.: 1
Filename : test.xy ( 8 points )
Range x : -2.000 to 6.000
Range y : -3.000 to 24.00
Since our example file contains no
values, KUPLOT can
only read two columns. The file is associated with data set 1.
This data set number is subsequently used to alter the appearance of
the plot for a given data set (see next section).