Effacer les filtres
Effacer les filtres

How to save .eps files with different figures?

1 vue (au cours des 30 derniers jours)
Shane
Shane le 25 Juin 2014
Commenté : Jan le 25 Juin 2014
So I am running a loop with various names and I am plotting a figure for each. I have the code
saveas(gcf,[names(ii,:) '.eps'], 'epsc')
How do I label each figure so they save differently within each name? Each figure is different. Thanks
  1 commentaire
Jan
Jan le 25 Juin 2014
I do not understand the question:
How do I label each figure so they save differently within each name?
What should be different? The file name or the title of the figure?

Connectez-vous pour commenter.

Réponse acceptée

Chad Greene
Chad Greene le 25 Juin 2014
Modifié(e) : Chad Greene le 25 Juin 2014
You could set the name of each figure by
set(gcf,'name',['figure number ',num2str(figNum(i))])
Then when saving each figure use
get(gcf,'name')
to get the name of the figure. Then save the figure with that name.

Plus de réponses (0)

Catégories

En savoir plus sur Printing and Saving 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