Save .fig file as .eps file

2 次查看(过去 30 天)
I-Chun
I-Chun 2023-3-30
评论: I-Chun 2023-4-1
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
VBBV 2023-3-30
plot(1:10)
saveas(gcf,'Linechart','epsc')
  7 个评论
VBBV
VBBV 2023-3-31
exportgraphics(gcf,'filename.eps','Resolution',300)
Have you tried using the resolution argument in export graphics command ?
I-Chun
I-Chun 2023-4-1
Yes, I tried both high and low resolution, but the error is still.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by