Adding standard error bars to grouped bar graph
Mostrar comentarios más antiguos
I was able to produce the bar graph below using the following code. After reading the doc and some other threads, I still can't seem to add standard error bars. Any advice would be appreciated!
y=[0.095 0.037 0.132; 0.1 0.058 0.158; 0 0 0.02; 0 0 0]
bar(y)
set(gca, 'XTickLabel', {'Rural' 'Exurban' 'Suburban' 'Urban'});
hold on

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Errorbars en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!