Update error bar widths automatically on figure resize

版本 1.1.0.0 (19.3 KB) 作者: Chris Rodgers
Add callback to the current axis to maintain a sensible error bar width on zooming.
1.1K 次下载
更新时间 2011/11/11

查看许可证

The Matlab errorbar() function produces error bars with a fixed width in axis units. This makes it hard to zoom in on the plot. This code cleans up the behavior on zooming.

引用格式

Chris Rodgers (2024). Update error bar widths automatically on figure resize (https://www.mathworks.com/matlabcentral/fileexchange/33734-update-error-bar-widths-automatically-on-figure-resize), MATLAB Central File Exchange. 检索来源 .

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

参考作品: Adjust error bar width

启发作品: superbar

Community Treasure Hunt

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

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

Include errorbar_tick.m in the zip file for convenience.

1.0.0.0