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.
更多信息和选项
- 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.
范例
基本范例 (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}]相关指南
文本
Wolfram Research (2007),ErrorBar,Wolfram 语言函数,https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html.
CMS
Wolfram 语言. 2007. "ErrorBar." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorBar.html.
APA
Wolfram 语言. (2007). ErrorBar. Wolfram 语言与系统参考资料中心. 追溯自 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: 25-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: 25-June-2026]}