File Exchange

image thumbnail


version (3.42 KB) by Walid
Create a horizontal bar plot with error bars.

1 Download

Updated 10 Apr 2014

View License

Modification of barerrorbar.m to plot horizontal bars and error bars.
(It is in a zip file to include the license text file for herrorbar.m)
Please let me know if you run into any problems!



Cite As

Walid (2021). hbarerrorbar (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)


Thank you so much for sharing this. It is exactly what I am trying to plot.

I'm having a bit of trouble with the inputs. My data input for the bar plot is a 1x16 double and my input for the error is also a 1x16 double. So far, I have been doing hbarerrorbar(data,error) - is this wrong? What can I do to fix this?

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

Inspired: superbar

Community Treasure Hunt

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

Start Hunting!