Figure Export to EPS
9 views (last 30 days)
Show older comments
I hope that somebody can help me with a problem. I'm trying to finish up figures for a paper, and I want to add legends, etc. in an EPS format using Adobe Illustrator. I made some simple scatter plots (gscatter.m) and clustered heatmaps (clustergram.m) and exported them to EPS. When I open them up in AI, they are broken into several sections. This makes it very difficult to size them. I have used Matlab in the past for the same thing, and they never appeared to be broken into independent sections.
Is there a way to avoid this?
Thanks in advance.
Jim
4 Comments
Leslie
on 6 Mar 2013
I am having the same trouble; when I import a particular set of EPS files from MATLAB (into Canvas 10 on a Mac OS X), the file is a set of about 6 rectangular bitmapped objects laid in sequence from top to bottom, rather than being comprised of the various text, line, & pcolor objects. This is not the case with another set of EPS files from MATLAB.
The biggest difference that I see between the two sets of plots is that the ones that are editable call m_pcolor, while the ones that don't work call pcolor and contain subplots.
Jan
on 7 Mar 2013
I do not know m_pcolor. If the figure uses the Pinters renderer, the created EPS files have a vector format. For the ZBuffer or OpenGL renderer, bitmaps are written to the EPS. So please check the renderer directly before printing. If the RendererMode is 'auto', Matlab decides for the "best" renderer and enables OpenGL for 3D or transparency automatically.
Answers (2)
Florin Neacsu
on 20 Sep 2011
2 Comments
Jan
on 20 Sep 2011
Surprising. I've never had troubles installing GhostScript, except for the 64-bit version in Matlab 7. Therefore I'm using the 32-bit version now.
Jan
on 20 Sep 2011
Do you use the OpenGL-renderer for your figure? EPS-files with a scalable vector format are created with the Painters-renderer only. But if the Renderer property is set to 'auto' Matlab enables OpenGL or ZBuffer for 3D graphics automatically and pixel-graphics are exported. But I haven't seen different slices yet.
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!