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