EPS Export in R2018a/b

3 visualizzazioni (ultimi 30 giorni)
Pierre
Pierre il 26 Set 2018
Modificato: OCDER il 27 Set 2018
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 Commento
OCDER
OCDER il 26 Set 2018
Upload the .fig file and the command you are using to save the eps file so that we can confirm this issue.

Accedi per commentare.

Risposte (1)

OCDER
OCDER il 26 Set 2018
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 Commenti
Pierre
Pierre il 27 Set 2018
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 il 27 Set 2018
Modificato: OCDER il 27 Set 2018
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...

Accedi per commentare.

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by