EPS Export in R2018a/b

조회 수: 3 (최근 30일)
Pierre
Pierre 2018년 9월 26일
편집: OCDER 2018년 9월 27일
In the recent years EPS export in Matlab has been rocky. But at last I could save decent figures in R2015b. Now in R2018a or R2018b if I export with 'renderer' set to 'opengl', I get a bitmap image (heap of pixels). If I set it to 'painters' I basically get all the restrictions of that algorithm (no alpha channel, for example). Better than nothing of course, but there's more stupid work in the pipeline to get a proper visualization. Is there a way to get a vectorized EPS output from an OpenGL figure? Do people at Matlab care? This maddening me.
(Edit: EPS export through the menu of the figure window, or with print -depsc2; same result. R2018a on MacOS 10.12.6).
  댓글 수: 1
OCDER
OCDER 2018년 9월 26일
Upload the .fig file and the command you are using to save the eps file so that we can confirm this issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

OCDER
OCDER 2018년 9월 26일
Here are some posts that deal with similar issues:
opengl is a bitmap renderer, so it makes sense you are getting a bitmapped .eps file. Using painters is the right way to go, but again, you do lose the alpha channel as you are already aware of. Seems like svg is the other format to use, read this:
  댓글 수: 2
Pierre
Pierre 2018년 9월 27일
Thank you very much for the suggestion of SVG; apparently it seems to do the job, even for more complex graphics (though import in Illustrator is very slow then).
Nevertheless, I'd like to remind you that in R2015b you got vector graphics in EPS with the OpenGL renderer (file attached). Now you don't. It's called a regression, and that a product gets more limited by the years does not make perfect sense to me.
OCDER
OCDER 2018년 9월 27일
편집: OCDER 2018년 9월 27일
I understand the frustration, as even Microsoft has removed support of eps files and caused a lot of headaches.
I wonder if this article about the PostScript bug might explain why eps is being avoided. Seems like it could cause serious damages...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by