The following pair of plot styles allow datapoints to be plotted with errorbars indicating the uncertainties in either their vertical or horizontal positions:
Both of these plot styles take three columns of input data, the first two of which represent the - and
-coordinates of the positions of each point, and the last of which represents the uncertainty in either the
- and
-coordinate. The plot style errorbars is an alias for yerrorbars. Additionally, the following plot style allows datapoints to be plotted with both horizontal and vertical errorbars:
This plot style takes four columns of data as input, the first two of which represent the - and
-coordinates of the positions of each point, the third of which gives the uncertainty in the
-coordinate, and the last of which gives the uncertainty in the
-coordinate.
Each of the plot styles listed above has a corresponding partner which takes minimum and maximum limit in place of each uncertainty, equivalent to writing instead of
, except that the limits of 2 and 7 should be given in place of
and
:
The plot style errorrange is an alias of yerrorrange.
Corresponding plot styles also exist to plot data with errorbars along the -axes of three-dimensional plots1: zerrorbars, zerrorrange, xzerrorbars, xzerrorrange, yzerrorbars, yzerrorrange, xyzerrorbars, xyzerrorrange.
Footnotes