EPS Export in R2018a/b
3 views (last 30 days)
Show older comments
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 Comment
OCDER
on 26 Sep 2018
Upload the .fig file and the command you are using to save the eps file so that we can confirm this issue.
Answers (1)
OCDER
on 26 Sep 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 Comments
See Also
Categories
Find more on Graphics Performance 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!