Because MATLAB doesn't provide a built-in function to plot bars with any error adjustments, this script will draw vertical bars and display an error marker for each bar.
For an advanced user, this function also provides ways to modify any and all of the bar and line series properties while plotting it in the first place.
· MATLAB 7.5 or higher
· It can't:
· Plot horizontal bar graphs.
· Plot stacked bar graphs (I'll try to work on this one).
· Work with bar(y,e,barSettings,lineSettings).