myplot_bar: bar graphs with error bar

Making bar graphs, with options to add on error bar (SE, NaN removed) and data points
154 Downloads
Updated 26 Jul 2016

View License

Making bar graphs, with options to add on error bar (SE) and data points, remove NaN. Can produce publication preferred (simple, black and white) with ease.
PDF documentation and examples can be found in the zip.
Related plotting function can be found in my [GitHub repository](https://github.com/weitingwlin/matlabutility).

SYNTAX:
myplot_bar(data)
myplot_bar(data, [], Texts)
myplot_bar(data, Styles, Texts)

Variables:
data: n x p matrix, each column is a variable, with (at most) n points/replicates.
Variables with less than n datapoint represented by NaN
Styles: a structure, with optional fields to customise figure styles.
Texts: a structure. Texts to put in

Cite As

Wei-Ting Lin (2024). myplot_bar: bar graphs with error bar (https://www.mathworks.com/matlabcentral/fileexchange/58395-myplot_bar-bar-graphs-with-error-bar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: mycolor(colorcode, selectplate)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Edit description.