how to make changes on open figures?

2 Ansichten (letzte 30 Tage)
Mohammad
Mohammad am 24 Jan. 2014
Beantwortet: Walter Roberson am 24 Jan. 2014
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Identification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by