Skip to main content
added 325 characters in body
Source Link
Sumit
  • 16k
  • 2
  • 36
  • 75

You can use Rasterize before exporting to a .eps file.

fig = Graphics3D[{Opacity[0.5], Sphere[]}] 

enter image description here

Now Export like

Export["fig2.eps", Rasterize[fig]] 

which will preserve the opacity in eps.eps. For better resolution you can use RasterSize.

For comparison

Export["fig1.eps", fig] 

Then I use them in a tex file and this is how they look in pdf

enter image description here

Left is without Rasterize (fig1.eps) and right with Rasterize (fig2.eps).

You can use Rasterize before exporting to a .eps file.

fig = Graphics3D[{Opacity[0.5], Sphere[]}] 

enter image description here

Now Export like

Export["fig2.eps", Rasterize[fig]] 

which will preserve the opacity in eps.

You can use Rasterize before exporting to a .eps file.

fig = Graphics3D[{Opacity[0.5], Sphere[]}] 

enter image description here

Now Export like

Export["fig2.eps", Rasterize[fig]] 

which will preserve the opacity in .eps. For better resolution you can use RasterSize.

For comparison

Export["fig1.eps", fig] 

Then I use them in a tex file and this is how they look in pdf

enter image description here

Left is without Rasterize (fig1.eps) and right with Rasterize (fig2.eps).

Source Link
Sumit
  • 16k
  • 2
  • 36
  • 75

You can use Rasterize before exporting to a .eps file.

fig = Graphics3D[{Opacity[0.5], Sphere[]}] 

enter image description here

Now Export like

Export["fig2.eps", Rasterize[fig]] 

which will preserve the opacity in eps.