Export RevolutionPlot3D with transparent background

  • Context: Mathematica 
  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Transparent
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
member 428835
Hi PF!

Given the following:

test = RevolutionPlot3D[t^4 - t^2, {t, 0, 1}, Background -> None]
Export["test.eps", Rasterize[test, Background -> None]]

The background is not transparent. Any idea how to do this? I've checked all over the internet, and nothing seems to work.

Thanks for the help!

Josh
 
Physics news on Phys.org
This isn’t something I have tried to do before, but I suspect that after the call to Rasterize there is no more background. Can you export the RevolutionPlot3D directly?

If not, maybe you can “green screen” the background and then edit that color out in an external program
 
Yea, turns out I just exported the images with white background and used an external program to remove it. Kinda a pain but it worked.