how to make changes on open figures?

2 vues (au cours des 30 derniers jours)
Mohammad
Mohammad le 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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Identification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by