TiledLayout fill with for loops
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
i have NumberOfPlots plots and i want to fill ceil(width(deltas_table)/15) objects of the type tiledlayout(5,3) with those plots. Deltas_table is my dataset.
That's were am i:
NumberOfPlots=width(deltas_table);
NumberOfTiles=ceil(width(deltas_table)/15);
tiles=[];
% Create tiles
for i=1:NumberOfTiles
tiles=[tiles, tiledlayout(5,3)];
end
for n=1 : NumberOfTiles
for i=1 : width(deltas_table)
figure ;
plot(deltas_table{:, i});
end
end
Then i would save those 5x3 figures without any plot visualization.
I'm not forced to use those function or methods, so i'm willing to say solutions of any kind.
Thank you in advance,
Alessandro
0 comentarios
Respuestas (1)
Sean de Wolski
el 27 de Abr. de 2021
f = figure;
t = tiledlayout(f,5,3);
for ii = 1:15
nexttile(t)
plot(sin(1:(ii*10)))
end
3 comentarios
Sean de Wolski
el 28 de Abr. de 2021
This does what your question asked. If you want something else - show an example of what you want.
Ver también
Categorías
Más información sobre Geographic Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!