Grouped Bar chart with errorbars on the same figure, centered in center of bars

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Errorbars 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by