Update error bar widths automatically on figure resize

Add callback to the current axis to maintain a sensible error bar width on zooming.
1,1K Downloads
Aktualisiert 11. Nov 2011

Lizenz anzeigen

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.

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: Adjust error bar width

Inspiriert: superbar

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Include errorbar_tick.m in the zip file for convenience.

1.0.0.0