Assign files' handles after plot them

1 Ansicht (letzte 30 Tage)
Valeriy
Valeriy am 25 Mai 2021
Bearbeitet: Valeriy am 25 Mai 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!

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Identification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by