barplot with both plot next to each other?

21 ビュー (過去 30 日間)
SkinnyFinsta
SkinnyFinsta 2018 年 3 月 16 日
回答済み: Are Mjaavatten 2018 年 3 月 16 日
Hey guys I would like to make a barplot that should look like the picture that I uploaded can anyone help me?

回答 (1 件)

Are Mjaavatten
Are Mjaavatten 2018 年 3 月 16 日
y = [5,4;6,5.5;3.8,3];
bar(y)
set(gca,'XTickLabel',{'T1';'T2';'T3'})
legend('Messung','Simulation')

カテゴリ

Help Center および File ExchangeColor and Styling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by