Save mat figure as .eps

52 次查看(过去 30 天)
Paola
Paola 2023-5-24
评论: Daehan Yoo 2023-9-15
Hi all,
I am trying to save a matlab figure as an .eps file to change colors in illustrator. Unfortunately it does not work, meaning that once I open the eps file in illustrator I am unable to edit the figure. Does anyone have everhad this problem and know how to solve it?
Thanks
  3 个评论
Paola
Paola 2023-5-30
Hi Rik,
I think it is a matlab issue because I usually save a lot of matlab figures as eps. Altought, for that specific figure does not work. I mean it is saved as eps but I am unble to edit it.
Paola
Rik
Rik 2023-5-31
Can you try to create a minimal example to try to determine which part may be causing the problem?

请先登录,再进行评论。

回答(1 个)

Vijeta
Vijeta 2023-6-15
Hi,
There are a few things to check when trying to save a MATLAB figure as an .eps file for use in Adobe Illustrator:
1. Check the "Color" option: When using the "Save As" option in MATLAB, make sure that the "Color" option is set to "RGB". This ensures that the colors in the figure are represented in RGB format, which is compatible with Adobe Illustrator. You can check this option by going to File > Save As, selecting "EPS" as the file format, and then selecting "Options".
2. Check the transparency: If your figure contains transparent elements (such as patches or lines with transparency), this can cause issues when opening the .eps file in Illustrator. You can try setting the transparency to "rgb (0, 0, 0)", which makes the transparent areas fully transparent, in order to avoid this issue.
3. Check the compatibility: Some versions of MATLAB and Adobe Illustrator are not fully compatible, which can cause issues when trying to save and edit .eps files. To address this, you can try saving the .eps file in an earlier version of MATLAB or using a newer version of Adobe Illustrator.
4. Check the image resolution: When saving the figure as an .eps file, make sure to choose an appropriate resolution that is suitable for your intended use in illustrator. Higher resolutions may result in larger file sizes but better quality, while lower resolutions may result in pixelated or blurry images.
By checking these options, you may be able to save your MATLAB figure as an .eps file that is compatible with Adobe Illustrator and editable.
  1 个评论
Daehan Yoo
Daehan Yoo 2023-9-15
Hi there, I am having a similar issue and am trying your suggestion.
However, I can't seem to find "Options" in step 1 (File > Save As, selecting "EPS" as the file format, and then selecting "Options"). Perhaps a screenshot would help?

请先登录,再进行评论。

类别

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