I'm writing a code,that should make some changes on all of the open figures and then save them in png format with the same name. There are sometimes one, and sometimes more than figur open. Does anybody have an idea how I should do that?

 채택된 답변

Walter Roberson
Walter Roberson 2014년 1월 24일

0 개 추천

fignums = findobj(0, 'type', 'figure');
for thisfig = fignums
set(thisfig, 'Papersize', [8.5 11]); %for example
end

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2014년 1월 24일

답변:

2014년 1월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by