barerrorbar(varargi​n)

Create a bar plot with error bars.
2,6K téléchargements
Mise à jour 1 avr. 2016

Afficher la licence

Barerrorbar() creates a bar plot with error bars. Although, not the first function to accomplish this task, barerrorbar() differs in that it directly calls the MATLAB functions bar() and errorbar() so that the options of both functions are preserved. For example:
x = 0.2*randn(3,4,100) + 1;
xMeans = mean(x,3);
xMeansL = repmat(3*0.2/10,3,4);
xMeansU = repmat(4*0.2/10,3,4);
barerrorbar({3:5,xMeans,'m'}, {repmat((3:5)',1,4),...
xMeans, xMeansL,xMeansU,'bx'});

Citation pour cette source

Kenneth Morton (2024). barerrorbar(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/9541-barerrorbar-varargin), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP3
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Errorbars dans Help Center et MATLAB Answers
Remerciements

Inspiré par : BarsWithError

A inspiré : superbar

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
2.0.0.0

Fix a minor bug concerning row vector inputs.

1.0.0.0

Updated the file to remove M-Lint messages.