Center alignment for tiledlayout

22 visualizaciones (últimos 30 días)
hmhuang
hmhuang el 13 de En. de 2022
Respondida: G A el 13 de En. de 2022
Is it possible to align all the tiles in the tiledlayout to the center, such as the attached figure?

Respuesta aceptada

G A
G A el 13 de En. de 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')

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots 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