Assign files' handles after plot them

6 visualizaciones (últimos 30 días)
Valeriy
Valeriy el 25 de Mayo de 2021
Editada: Valeriy el 25 de Mayo de 2021
Hello,
I have several plotted figures and I'd like to save set of them into sinlge file. Help seach shows that this is possible by
savefig(h,'xxx.fig');
command, where h has to be array of handles of plotted figures.
How can I perform such assignement of h components for already plotted figures, if I didn't do this during plotting?
Thanks!

Respuesta aceptada

Valeriy
Valeriy el 25 de Mayo de 2021
I have found answer:
figHandles = findall(0,'Type','figure');
savefig(figHandles,'AllFigs.fig');

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by