barplot with both plot next to each other?

20 visualizaciones (últimos 30 días)
SkinnyFinsta
SkinnyFinsta el 16 de Mzo. de 2018
Respondida: Are Mjaavatten el 16 de Mzo. de 2018
Hey guys I would like to make a barplot that should look like the picture that I uploaded can anyone help me?

Respuestas (1)

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

Categorías

Más información sobre Color and Styling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by