xyerrorbar

Errorbars for both x and y data.

您现在正在关注此提交

The function plots x and y data with errorbars for both.

syntax:

>xyerrorbar(x,y,xerror,yerror,s)

variables:

x=array of xdata
y=array of ydata
xerror=array of errors for x
yerror=array of errors for y
s=string argument for plotting the datapoints, The errorbars are plotted in red and blue

limitations:

Needs a figure to plot in.
errorbars are symmetrical, that means that the function plots [x-xerror x+xerror] and [y-yerror y+yerror].

x,y,xerror,yerror must all be arrays.

引用格式

Nils Sjöberg (2026). xyerrorbar (https://ww2.mathworks.cn/matlabcentral/fileexchange/5444-xyerrorbar), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: errbar, errorbarxy, superbar

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0