Getting a plot with transparency to export in a vector format (e.g. eps) in Matlab

If you have a plot where one of the objects has the property facealpha or edgealpha set to something else than 1, Matlab will choke when attempting to export the figure to eps (it will render the plot as a low-res bitmap and stick it in an eps file if you use exportfig). The solution: export to SVG with plot2svg, open in Illustrator, and save as an eps.

One comment

  1. Thanks! I have been struggling with this for a while now. BTW, Inkscape also works to convert from .svg to .eps

Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s