barplot with both plot next to each other?

조회 수: 14 (최근 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 CenterFile Exchange에서 Color and Styling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by