myplot_bar: bar graphs with error bar
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
myplot_bar/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Edit description. |