Generate a plot set

5 visualizaciones (últimos 30 días)
Luis Isaac
Luis Isaac el 12 de Mzo. de 2021
Editada: ANKUR KUMAR el 12 de Mzo. de 2021
Dear
I would like to genenetate about 65 figures
Of couse I don't like to see them at first, I only would like to save in a directory.
But as far as I know I have to plot the figure and then close it.
Is there any way to make figures without show each of them on screen?
In the same way is there any way to maximice the plot window to fit all the screen using code?
Thanks in advance!!

Respuestas (1)

ANKUR KUMAR
ANKUR KUMAR el 12 de Mzo. de 2021
Editada: ANKUR KUMAR el 12 de Mzo. de 2021
for kk=1:65
f=figure
plot(randi(10,5,5))
print(sprintf('figure_%d',kk),'-djpeg','-r100')
close(f)
end

Categorías

Más información sobre Specifying Target for Graphics Output 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