Update error bar widths automatically on figure resize

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

Al momento, stai seguendo questo contributo

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 (2026). Update error bar widths automatically on figure resize (https://it.mathworks.com/matlabcentral/fileexchange/33734-update-error-bar-widths-automatically-on-figure-resize), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato da: Adjust error bar width

Ispirato: superbar

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

Include errorbar_tick.m in the zip file for convenience.

1.0.0.0