# How to save plots with opacity[0.5] with transparency?

How to save ParametricPlot with opacity[0.5] with transparency?

When I save the image the transparency is completely lot. in both pdf and eps files. I use

The following code for saving my parametric plot.

Export["path\\figure.eps",Show[figure], "EPS"]


Update: I tried getting pdf out (replacing eps with pdf), still no luck.

• EPS format does not support transparency. Feb 19 '20 at 13:50
• I am fine with any format eps or pdf Feb 19 '20 at 17:06
• Can you get away with using SVG? It's also a vector format, but it seems like it supports transparency. I assume you prefer a vector image, but if you're okay with a rasterized image you could use PNG and just set the option ImageResolution -> 300 or some larger number to get good resolution. Feb 19 '20 at 17:14
• @MassDefect Thank you so much. Yes PNG would do. And, it is almost working. But this added an opacity to the frame too making that lighter than other frames of other figures. Feb 19 '20 at 17:28
• How are you adding in the opacity? If you just want the curves to be transparent, I would use something like plot = ParametricPlot[..., PlotStyle -> Opacity[0.5]]; Export["path\\figure.png", plot, Background -> None, ImageResolution -> 300] (assuming you also want a transparent background; if not, leave out the part about background). This should result in only the curves being partially transparent and the frame being whatever you specified using FrameStyle -> .... Feb 19 '20 at 17:35