Export RevolutionPlot3D with transparent background

  • Context: Mathematica 
  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Transparent
Click For Summary
SUMMARY

The discussion centers on exporting a RevolutionPlot3D graphic with a transparent background using Mathematica. The user, Josh, initially attempts to export the graphic using the Rasterize function but encounters issues with the background remaining non-transparent. Suggestions include exporting the graphic directly without Rasterize or using an external program to remove the white background after export. Ultimately, Josh resolves the issue by exporting with a white background and manually editing it out.

PREREQUISITES
  • Familiarity with Mathematica's RevolutionPlot3D function
  • Understanding of the Rasterize function in Mathematica
  • Basic knowledge of image editing software for background removal
  • Experience with exporting graphics in EPS format
NEXT STEPS
  • Explore direct export options for RevolutionPlot3D in Mathematica
  • Research advanced techniques for using Rasterize in Mathematica
  • Learn about image editing tools that effectively remove backgrounds
  • Investigate alternative export formats that support transparency
USEFUL FOR

Mathematica users, graphic designers, and anyone involved in creating and exporting scientific visualizations who require transparent backgrounds in their graphics.

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 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
12K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K