Is there a way to save the figures as .eps files using 'legacy behaviour" in R2016a?

29 ビュー (過去 30 日間)
I been using Adobe Illustrator to edit my Matlab figures for some time now. However with the latest update to Matlab (R2016a) saving the figure as an .eps file and opening the file in AI no longer lets me edit the figure. I can edit the figures saved in older versions of Matlab (R2015b and previous), but not in R2016a.
I know there is a way to force "legacy behaviour" when saving .mat files, i.e. '-v7.3'; Is there a way to save the figures using the old .eps "behaviour" in R2016a? I've tried using a number of different input options for the functions 'print', 'save', and 'saveas' from the command line, as well as trying to save from the figure window drop down menu, but nothing works.
Has anyone found a way to save .eps files as before??
  2 件のコメント
Mickey London
Mickey London 2016 年 12 月 28 日
Same problem here. Matlab on Mac. This is completely nuts. What is matlab even good for if it cannot export figures in vector format.
Anna  Beyeler
Anna Beyeler 2017 年 3 月 3 日
編集済み: Anna Beyeler 2017 年 3 月 3 日
Same problem here too :/ Matlab 2016b, Illustrator CC, Windows 7

サインインしてコメントする。

採用された回答

Richard Quist
Richard Quist 2016 年 5 月 17 日
If MATLAB thinks the figure is too complicated it will produce an embedded image in the EPS file, rather than vectorized (editable) content. You can force MATLAB to produce vectorized output by using the -painters option when calling the print command, as in:
print -painters -depsc output.eps
The output.eps file should then be editable in Illustrator
  2 件のコメント
David Thoen
David Thoen 2016 年 10 月 29 日
Thanks! the -painters command solved my issues as well! Same problem (and upgrade) as mentioned by questioner.
Thomas
Thomas 2017 年 3 月 2 日
編集済み: Walter Roberson 2017 年 3 月 2 日
Excellent, Just use '-dsvg' for even better results!

サインインしてコメントする。

その他の回答 (1 件)

Ruchir Kemnaik
Ruchir Kemnaik 2016 年 5 月 9 日
It is my understanding that you have been using Adobe Illustrator to edit MATLAB figures stored in EPS format. However, you are not able to edit the figures saved in MATLAB R2016a.
I work for MathWorks and I have forwarded this feedback to the appropriate product team.
As a workaround, try saving the figure in SVG format. This file opens fine in Adobe Illustrator.
  1 件のコメント
Ilja Maljutenko
Ilja Maljutenko 2016 年 7 月 11 日
New eps files can be opened in external editors, but how editable/publishable are they?
In past I have used post processing for masking out areas and shifting some contour labels.
This, quite basic feature of vector graphics, seems to be impossible after 2014b when the eps files are scattered into "vector primitives". I wrote my concerns here.
Please Ruchir could you forward this feedback also to the appropriate product team.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by