ErrorBar[{negerror,poserror}]
represents error in the positive and negative directions.
ErrorBar[yerr]
represents error yerr in both the positive and negative directions.
ErrorBar[xerr,yerr]
represents errors specified for both the x and the y coordinates.
ErrorBar
ErrorBar[{negerror,poserror}]
represents error in the positive and negative directions.
ErrorBar[yerr]
represents error yerr in both the positive and negative directions.
ErrorBar[xerr,yerr]
represents errors specified for both the x and the y coordinates.
Details and Options
- To use ErrorBar, you first need to load the ErrorBar Plotting Package using Needs["ErrorBarPlots`"].
- ErrorBar is used in a list of data points for ErrorListPlot to represent error in a data point.
- The syntax of a data point, with associated error, is generally {pt,ErrorBar[err]}.
- The error is expressed as a change in the value at the point.
Examples
Basic Examples (1)
Needs["ErrorBarPlots`"]Use ErrorBar to represent errors in a plot:
ErrorListPlot[{{{1, 1}, ErrorBar[0.2, 0.3]}, {{2, 2}, ErrorBar[{-0.5, 1.5}]}, {{3, 4}, ErrorBar[0.3]}, {{4, 6}, ErrorBar[0.4]}, {{5, 7}, ErrorBar[0.8]}, {{6, 10}, ErrorBar[0.5, 1.2]}}, AxesOrigin -> {0, 0}]See Also
Related Guides
Text
Wolfram Research (2007), ErrorBar, Wolfram Language function, https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html.
CMS
Wolfram Language. 2007. "ErrorBar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html.
APA
Wolfram Language. (2007). ErrorBar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html
BibTeX
@misc{reference.wolfram_2026_errorbar, author="Wolfram Research", title="{ErrorBar}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_errorbar, organization={Wolfram Research}, title={ErrorBar}, year={2007}, url={https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html}, note=[Accessed: 13-June-2026]}