barplot with both plot next to each other?

20 vues (au cours des 30 derniers jours)
SkinnyFinsta
SkinnyFinsta le 16 Mar 2018
Hey guys I would like to make a barplot that should look like the picture that I uploaded can anyone help me?

Réponses (1)

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

Catégories

En savoir plus sur Color and Styling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by