Save mat figure as .eps
48 views (last 30 days)
Show older comments
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 Comments
Rik
on 31 May 2023
Can you try to create a minimal example to try to determine which part may be causing the problem?
Answers (1)
Vijeta
on 15 Jun 2023
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 Comment
Daehan Yoo
on 15 Sep 2023
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?
See Also
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!