Update error bar widths automatically on figure resize

Add callback to the current axis to maintain a sensible error bar width on zooming.

Vous suivez désormais cette soumission

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.

Citation pour cette source

Chris Rodgers (2026). Update error bar widths automatically on figure resize (https://fr.mathworks.com/matlabcentral/fileexchange/33734-update-error-bar-widths-automatically-on-figure-resize), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Adjust error bar width

A inspiré : superbar

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1.0.0

Include errorbar_tick.m in the zip file for convenience.

1.0.0.0