C-PLOT

Scientific Graphics and Data Analysis

3.2.5. - Modes 2 & 3: Reading data



Under mode 2, data will be read into the program from ASCII files -- created independently or using the sa command described below -- containing columns of x and y (in 2D mode) and z (in 3D mode), plus, optionally, r (in 2D mode), s and p. Error bars will be read under mode 2 only if the error-bar mode has been turned on using the eb command. Line-control information will be read only if line-control mode has been turned on using lc.

Under mode 3, you instruct C-PLOT which columns in the file to use to obtain values for x, y, z, r, s and p. If the columns for the error bars are set equal to 0, no values will be read in for r or s. If a nonzero value is entered for an error-bar column, values will be read in but error-bar mode will not be turned on. To enter a column for line-control values, you must first have turned on line-control mode with the lc command.

Typing a ^C while reading from a file will abort the read, and the number of points that were read will be reported.