EPS Export in R2018a/b

3 visualizaciones (últimos 30 días)
Pierre
Pierre el 26 de Sept. de 2018
Editada: OCDER el 27 de Sept. de 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 comentario
OCDER
OCDER el 26 de Sept. de 2018
Upload the .fig file and the command you are using to save the eps file so that we can confirm this issue.

Iniciar sesión para comentar.

Respuestas (1)

OCDER
OCDER el 26 de Sept. de 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 comentarios
Pierre
Pierre el 27 de Sept. de 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 el 27 de Sept. de 2018
Editada: OCDER el 27 de Sept. de 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...

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by