Save .fig file as .eps file

4 views (last 30 days)
I-Chun
I-Chun on 30 Mar 2023
Commented: I-Chun on 1 Apr 2023
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.

Answers (1)

VBBV
VBBV on 30 Mar 2023
plot(1:10)
saveas(gcf,'Linechart','epsc')
  7 Comments
VBBV
VBBV on 31 Mar 2023
exportgraphics(gcf,'filename.eps','Resolution',300)
Have you tried using the resolution argument in export graphics command ?
I-Chun
I-Chun on 1 Apr 2023
Yes, I tried both high and low resolution, but the error is still.

Sign in to comment.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!