Assign files' handles after plot them

조회 수: 6 (최근 30일)
Valeriy
Valeriy 2021년 5월 25일
편집: Valeriy 2021년 5월 25일
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!

채택된 답변

Valeriy
Valeriy 2021년 5월 25일
I have found answer:
figHandles = findall(0,'Type','figure');
savefig(figHandles,'AllFigs.fig');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by