barerrorbar(varargi​n)

版本 2.0.0.0 (6.3 KB) 作者: Kenneth Morton
Create a bar plot with error bars.
2.6K 次下载
更新 2016/4/1

查看许可证

Barerrorbar() creates a bar plot with error bars. Although, not the first function to accomplish this task, barerrorbar() differs in that it directly calls the MATLAB functions bar() and errorbar() so that the options of both functions are preserved. For example:
x = 0.2*randn(3,4,100) + 1;
xMeans = mean(x,3);
xMeansL = repmat(3*0.2/10,3,4);
xMeansU = repmat(4*0.2/10,3,4);
barerrorbar({3:5,xMeans,'m'}, {repmat((3:5)',1,4),...
xMeans, xMeansL,xMeansU,'bx'});

引用格式

Kenneth Morton (2026). barerrorbar(varargin) (https://ww2.mathworks.cn/matlabcentral/fileexchange/9541-barerrorbar-varargin), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Errorbars 的更多信息
致谢

参考作品: BarsWithError

启发作品: superbar

版本 已发布 发行说明
2.0.0.0

Fix a minor bug concerning row vector inputs.

1.0.0.0

Updated the file to remove M-Lint messages.