how to make changes on open figures?

2 次查看(过去 30 天)
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
fignums = findobj(0, 'type', 'figure');
for thisfig = fignums
set(thisfig, 'Papersize', [8.5 11]); %for example
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by