Hi! I am trying to add the error bars in my chart but I do not know how to do it…
>> y = [9862.5 5238 3845.2; 9368.6 3515 3625.7; 11064 6810 4073.6; 12599.2 5701 3955.3; 10114.4 5683 3664.5];>> b = bar(y,'FaceColor', 'flat');>> set (gca, 'XTickLabel',{ 'Pronghorn', 'Settler CL', 'Robidoux', 'LCS Chrome', 'Warhorse'})>> for k = 1:size(y,2)b(k).CData = k;end;
this is the code for my chart.
And these are the std error:
1699.5 , 612.157 , 548.048
Thank you!
Best Answer