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!