How do I export a ParametricPlot as a png image with no background? For example, my exported image look like this:

enter image description here

But it has a white background. I need that white background to be a completely transparent alpha channel, but I cannot figure out how to do this with ParametricPlot. Can somebody give an example using the Export command?

  • 2
    $\begingroup$ The easiest way is to do Export["test.png",Rasterize[yourplot,Background->None]]. $\endgroup$ – N.J.Evans Dec 17 '18 at 18:40

Just use Background -> None inside Export . Assume that you have a parametric plot

a = ParametricPlot[{Sin[u], Sin[2 u]}, {u, 0, 2 Pi}] .

Export["tra.png", a, Background -> None] .


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.