Mathematica Export RevolutionPlot3D with transparent background

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Transparent
AI Thread Summary
The user is trying to export a RevolutionPlot3D with a transparent background but is encountering issues with the background remaining opaque. Suggestions include exporting the plot directly without rasterizing or using an external program to remove the background after exporting. The user ultimately resolved the issue by exporting the image with a white background and then editing it out using an external tool. This workaround, while effective, is noted to be cumbersome. The discussion highlights challenges in achieving transparency in exported 3D plots.
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.
 

Similar threads

Replies
2
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
5
Views
4K
Replies
5
Views
12K
Replies
5
Views
2K
Replies
4
Views
3K
Replies
12
Views
5K
Replies
3
Views
2K
Replies
5
Views
2K
Back
Top