Update error bar widths automatically on figure resize
Versione 1.1.0.0 (19,3 KB) da
Chris Rodgers
Add callback to the current axis to maintain a sensible error bar width on zooming.
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.
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
- MATLAB > Data Import and Analysis > Data Exploration >
Scopri di più su Errorbars in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.