Center alignment for tiledlayout

조회 수: 24 (최근 30일)
hmhuang
hmhuang 2022년 1월 13일
답변: G A 2022년 1월 13일
Is it possible to align all the tiles in the tiledlayout to the center, such as the attached figure?

채택된 답변

G A
G A 2022년 1월 13일
x = -2*pi:0.1:2*pi;
y = sin(x);
t = tiledlayout(3,6);
nexttile([1,2])
plot(x,y)
nexttile([1,2])
plot(x,y)
nexttile([1,2])
plot(x,y)
nexttile([1,1])
axis off
nexttile([1,2])
plot(x,y)
nexttile([1,2])
plot(x,y)
nexttile([1,1])
axis off
nexttile([1,1])
axis off
nexttile([1,2])
plot(x,y)
nexttile([1,2])
plot(x,y)
nexttile([1,1])
axis off
xlabel(t,'xlabel')
ylabel(t,'ylabel')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by