Clear Filters
Clear Filters

Assign files' handles after plot them

2 views (last 30 days)
Valeriy
Valeriy on 25 May 2021
Edited: Valeriy on 25 May 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!

Accepted Answer

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

More Answers (0)

Categories

Find more on Graphics Object Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!