Export RevolutionPlot3D with transparent background

  • Mathematica
  • Thread starter joshmccraney
  • Start date
  • #1
2,030
114
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
 

Answers and Replies

  • #2
Dale
Mentor
Insights Author
2021 Award
32,410
9,395
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
 
  • #3
2,030
114
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.
 

Related Threads on Export RevolutionPlot3D with transparent background

Replies
22
Views
9K
Replies
1
Views
1K
  • Last Post
Replies
1
Views
3K
Replies
5
Views
4K
Replies
5
Views
11K
Replies
4
Views
5K
  • Last Post
Replies
7
Views
3K
Replies
3
Views
4K
Replies
3
Views
10K
Replies
3
Views
8K
Top