Credits Overview Plotting Styles Commands Terminals

boxerrorbars

The boxerrorbars style is only relevant to 2D data plotting. It is a combination of the boxes and yerrorbars styles. It requires 3, 4, or 5 columns of data. An additional (4th, 5th or 6th) input column may be used to provide variable (per-datapoint) color information (see linecolor and rgbcolor variable).

     3 columns:  x  y  ydelta
     4 columns:  x  y  ydelta xdelta         (xdelta <= 0 means use boxwidth)
     5 columns:  x  y  ylow  yhigh  xdelta   (xdelta <= 0 means use boxwidth)

figure_boxerrorbars

The boxwidth will come from the fourth column if the y errors are given as "ydelta" or from the fifth column if they are in the form of "ylow yhigh". If xdelta is zero or negative, the width of the box is controlled by the value previously given for boxwidth. See set boxwidth.

A vertical error bar is drawn to represent the y error in the same way as for the yerrorbars style, either from y-ydelta to y+ydelta or from ylow to yhigh, depending on how many data columns are provided. The line style used for the error bar may be controlled using set bars. Otherwise the error bar will match the border of the box.

DEPRECATED: Old versions of gnuplot treated boxwidth = -2.0 as a special case for four-column data with y errors in the form "ylow yhigh". In this case boxwidth was adjusted to leave no gap between adjacent boxes. This treatment is retained for backward-compatibility but may be removed in a future version.