barplot with both plot next to each other?

43 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Colormaps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by