barplot with both plot next to each other?

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 日

0 投票

y = [5,4;6,5.5;3.8,3];
bar(y)
set(gca,'XTickLabel',{'T1';'T2';'T3'})
legend('Messung','Simulation')

カテゴリ

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

タグ

質問済み:

2018 年 3 月 16 日

回答済み:

2018 年 3 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by