ErrorBarPlots`
ErrorBarPlots`

ErrorBarFunction

As of Version 12, ErrorBarFunction has been superseded by IntervalMarkers.

ErrorBarFunction

is an option for ErrorListPlot that specifies a function to apply to determine the shape of error bars.

Details

  • To use ErrorBarFunction, you first need to load the ErrorBar Plotting Package using Needs["ErrorBarPlots`"].
  • ErrorBarFunction->Automatic generates default error bars.
  • ErrorBarFunction->f specifies that the function f of two arguments is used to generate the error bar.
  • With setting f, the first argument supplied to f is the point around which the error bars are drawn.
  • With setting f, the second argument supplied to f is an ErrorBar object indicating the x and y errors.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Error bars display as intersecting lines by default:

In[2]:=
Click for copyable input
Out[2]=

ErrorBarFunction can be used to show error regions as rectangles:

In[3]:=
Click for copyable input
Out[3]=