transparent surf plot when printing to eps

2 visualizzazioni (ultimi 30 giorni)
Elis
Elis il 27 Ago 2015
Modificato: Walter Roberson il 31 Ago 2015
When I print the following figure to eps ( using print('subplots_151','-depsc') ) I get somewhat transparent 3D-plots (I use surf when plotting). Is there any way to get non-transprant 3D-plots when printing? (This does not happen when I save it to png)
Thanks for help!
  1 Commento
Rutuja Shirali
Rutuja Shirali il 31 Ago 2015
Hi Elis,
I tried using the print command on the subplot provided by you and I did not find any transparency. I tried in MATLAB R2014a and MATLAB R2014b. If you are using the same MATLAB release, please attach the screenshot of the eps file and the png file.
-Rutuja

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 31 Ago 2015
Modificato: Walter Roberson il 31 Ago 2015
If you are using a new enough version of MATLAB, then pass the renderer in as the first option to print: http://www.mathworks.com/help/matlab/ref/print.html#inputarg_renderer

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by