Center alignment for tiledlayout
24 views (last 30 days)
Show older comments
Is it possible to align all the tiles in the tiledlayout to the center, such as the attached figure?
0 Comments
Accepted Answer
G A
on 13 Jan 2022
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 Comments
More Answers (0)
See Also
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!