BarsWithError
Aucune licence
BarsWithError
This function plots standard bar plots with corresponding errorbars. The need for such a function has been great for me especially to quickly visualize data.
Y = [1:1:10;2:2:20];
YError = [1 1 1 1 1 1 1 1 1 1 ; 2 2 2 2 2 2 2 2 2 2];
[hBars,hError] = BarsWithError(Y,YError,YError,'random',{'Group 1','Group 2'},'Sample Bar Chart')
Neatly plots Bar plots with corresponding errorbars which are also fed into the function, future versions will take as input only a matrix and errorbars will be calculated in situ. I hope the script is useful for all other users. I cannot be responsible for gray hair, financial gain or loss from this function.
Citation pour cette source
Chandramouli Chandrasekaran (2026). BarsWithError (https://fr.mathworks.com/matlabcentral/fileexchange/8421-barswitherror), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Bar Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tags
Remerciements
A inspiré : superbar, barerrorbar(varargin)
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
