errorbarlogy

版本 1.0.0.0 (1.6 KB) 作者: Zhang Jiang
errorbar plot for log y scale
3.4K 次下载
更新时间 2006/10/5

查看许可证

ERRORBARLOGY Show the vertical errorbar line in log y scale plot when the data error is larger than data itself.

Matlab buidin ERRORBAR does not plot the vertical errobar line in a log y scale plot when data error is larger than data itself. See the screenshot for comparion.

Example:
x = logspace(1,3,20);
y = 5*(1 + 0.5*(rand(1,20)-0.5)).*x.^(-2);
y_err(1:13) = y(1:13)/2;
y_err(14:20) = y(14:end)*5;
errorbar(x,y,y_err,'o');
errorbarlogy;

引用格式

Zhang Jiang (2024). errorbarlogy (https://www.mathworks.com/matlabcentral/fileexchange/12449-errorbarlogy), MATLAB Central File Exchange. 检索来源 .

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

参考作品: errorbarlogx.m

启发作品: superbar

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Update funtion to work properly when plotting multiple errorbar plots with non errobar plots in one figure.