Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Jonathan Duncan
Jonathan Duncan le 8 Oct 2017
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

Réponses (0)

Catégories

En savoir plus sur Errorbars dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by