Save .fig file as .eps file
이전 댓글 표시
I have a problem with the "save as" action in .fig window of matlab.
When I save the .fig file as the .eps file, the figure changes. Such as:


The top one is the original .fig file, while the bottom one is the result of saving as .eps file.
I don't know why the line is out of plot window.
Thank you for any advice.
답변 (1개)
VBBV
2023년 3월 30일
plot(1:10)
saveas(gcf,'Linechart','epsc')
댓글 수: 7
VBBV
2023년 3월 30일
Use the command saveas instead of saving it from Figure window. Or keep figure window maximized when saving using saveas action
VBBV
2023년 3월 30일
There are several other options you can try e.g. exportgraphics, print commands
I-Chun
2023년 3월 30일
VBBV
2023년 3월 31일
exportgraphics(gcf,'filename.eps','Resolution',300)
Have you tried using the resolution argument in export graphics command ?
I-Chun
2023년 4월 1일
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

