How to save .eps files with different figures?
1 次查看(过去 30 天)
显示 更早的评论
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
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!