Clear Filters
Clear Filters

how to make changes on open figures?

2 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 24 Jan 2014
fignums = findobj(0, 'type', 'figure');
for thisfig = fignums
set(thisfig, 'Papersize', [8.5 11]); %for example
end

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!