barwitherr(errors,v​arargin)

This is a very simple extension of MatLab's bar function to add error bars.

Al momento, stai seguendo questo contributo

Released Code; update to draw graphics immediately.

Cita come

Martina Callaghan (2026). barwitherr(errors,varargin) (https://it.mathworks.com/matlabcentral/fileexchange/30639-barwitherr-errors-varargin), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

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

Bug fix to update graphics for multiple plots on same figure. Otherwise the error bars overlay on each other instead of being bar-specific for the second group.
Added compatibility with 2014b graphics

1.11.0.0

Errors always defined in terms of upper and lower, even if symmetric.

1.10.0.0

Recent comments addressed via bug fix, appearance update and extra optional output parameter.

1.9.0.0

Only return handle if requested.

1.8.0.0

Returns handle as recommended by Eric in submission comments

1.7.0.0

Bug fix: xOrder should be specified when second argument for standard bar function is a width/property.

1.6.0.0

Now allows asymmetric errors on 1D data.

1.3.0.0

This version allows for asymmetric errors as requested.

1.2.0.0

Now accounts for the fact that if x-values are also supplied, they may not be in ascending order.

1.0.0.0