How to save .eps files with different figures?

1 回表示 (過去 30 日間)
Shane
Shane 2014 年 6 月 25 日
コメント済み: Jan 2014 年 6 月 25 日
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 件のコメント
Jan
Jan 2014 年 6 月 25 日
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?

サインインしてコメントする。

採用された回答

Chad Greene
Chad Greene 2014 年 6 月 25 日
編集済み: Chad Greene 2014 年 6 月 25 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by