transparent surf plot when printing to eps

4 views (last 30 days)
Elis
Elis on 27 Aug 2015
Edited: Walter Roberson on 31 Aug 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 Comment
Rutuja Shirali
Rutuja Shirali on 31 Aug 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

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 31 Aug 2015
Edited: Walter Roberson on 31 Aug 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

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!