eb

select error-bar modes

SYNOPSIS

eb [x|y|z] [0|1] [?]

DESCRIPTION

Entered without parameters, eb toggles the error-bar mode off or on: in 2D mode, y-axis error bars; in 3D mode, z-axis error bars. In 2D mode, x or y can be given as arguments to toggle the respective error bars off or on. An argument of 0 or 1 will turn error bars off or on, respectively.

When a ? is entered with eb,C-PLOT indicates which error-bar modes are on and which are off.

When switching between 2D and 3D modes, y and z error-bar modes will reflect each other's states. For example, if y error bars are on in 2D mode, z error bars will automatically be on in 3D mode, and vice versa.

Although a file may include a column for error bars, C-PLOT will not read them unless the error-bar mode has been turned on or a positive column number for the error bars has been specified under gd modes 3, 5, 8 or 12. Entering a non-zero column will not turn on error-bar mode, although data will be read into the internal data array. A negative column number will cause the data already in that column to remain. A zero column number will set the values to zero.

When the error-bar mode is on, the following happens:

  • error bars are drawn with draw-plot commands p or pz, z or zz;
  • error bars are scanned in gd modes 1, 2 and 11;
  • error bar values are displayed in gd mode 7;
  • error bar values are saved with the save-data command, sa;
  • error bars are taken into account for masking in gd mode 4;
  • error-bar values are included when data is auto-ranged with np.

EXAMPLE

eb 1

SEE ALSO

gd np sa