barwitherr(errors,v​arargin)

This is a very simple extension of MatLab's bar function to add error bars.

您现在正在关注此提交

Released Code; update to draw graphics immediately.

引用格式

Martina Callaghan (2026). barwitherr(errors,varargin) (https://ww2.mathworks.cn/matlabcentral/fileexchange/30639-barwitherr-errors-varargin), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: superbar

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

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

Bug fix to update graphics for multiple plots on same figure. Otherwise the error bars overlay on each other instead of being bar-specific for the second group.
Added compatibility with 2014b graphics

1.11.0.0

Errors always defined in terms of upper and lower, even if symmetric.

1.10.0.0

Recent comments addressed via bug fix, appearance update and extra optional output parameter.

1.9.0.0

Only return handle if requested.

1.8.0.0

Returns handle as recommended by Eric in submission comments

1.7.0.0

Bug fix: xOrder should be specified when second argument for standard bar function is a width/property.

1.6.0.0

Now allows asymmetric errors on 1D data.

1.3.0.0

This version allows for asymmetric errors as requested.

1.2.0.0

Now accounts for the fact that if x-values are also supplied, they may not be in ascending order.

1.0.0.0