Center alignment for tiledlayout

24 次查看(过去 30 天)
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