Error bars on group bar chart

I'm trying to add +-10% error bars on each bar, getting errors with errY,y
y = [212206000000 229040000000 39312320000; 119783500000 169247500000 128418300000 ; 211838000000 706581300000 85349300000];
bar(y)
set(gca,'XTickLabel', {'300 ','350 ','400 '})
legend('C','S','T')
grid on
ylabel('N/m^{2}')
xlabel ('\mum')
colormap summer

5 件のコメント

Star Strider
Star Strider 2015 年 4 月 8 日
What version of MATLAB are you using?
Frank
Frank 2015 年 4 月 9 日
2014
Star Strider
Star Strider 2015 年 4 月 9 日
R2014a or R2014b? There’s a huge difference in how you create the error bars between the two.
Frank
Frank 2015 年 4 月 9 日
R2014b
Star Strider
Star Strider 2015 年 4 月 9 日
Note: see Error-bar plot for R2014a for the R2014a version of my code.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeErrorbars についてさらに検索

質問済み:

2015 年 4 月 8 日

コメント済み:

2015 年 4 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by