Grouped Bar chart with errorbars on the same figure, centered in center of bars
1 view (last 30 days)
Show older comments
I have this code that give me a grouped bar chart and shows error bars but for both error bars in between the bars.
dist_vect =[10,50,100;510,50,100]; Avgs = [4,3,5;5,9,3]; E = [2,6;9,3]; figure hold on bar(dist_vect,Avgs) errorbar(dist_vect,Avgs,E,'.')
it always puts the bars between the groups not at the center of the respective bars columns errorbar(dist_vect, a
0 Comments
Answers (0)
See Also
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!