C-PLOT

Scientific Graphics and Data Analysis

sa

save current data

SYNOPSIS

sa [[-b] file [w|a]]

DESCRIPTION

The sa command will list the current data points on the screen or to a file, if one is specified.

A w after the file name will cause C-PLOT to overwrite the indicated file with the current points. An a after the file name will have the current points appended. A -b will cause the data to be written to the file in a binary format suitable for reading back with the gd 13 or gd 14 commands. Binary data files can be read in and written out faster than ASCII files and also generally smaller in size.

Values written to the file are x, y, and (in 3D mode) z and, if the corresponding error-bar modes are on, x and y or (in 3D mode) z error-bar values and, if line-control mode is on, line-control values. In binary mode, all values are written to the file, whether the corresponding mode is on or off.

If you instruct the program to save points to an existing file that you decide not to alter, type a ^D when you are asked whether you want to overwrite the file or append the points.

EXAMPLE

sa file w

SEE ALSO

eb gd lc