Assign files' handles after plot them

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)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Mayo de 2021

Editada:

el 25 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by