transparent surf plot when printing to eps

2 ビュー (過去 30 日間)
Elis
Elis 2015 年 8 月 27 日
編集済み: Walter Roberson 2015 年 8 月 31 日
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 件のコメント
Rutuja Shirali
Rutuja Shirali 2015 年 8 月 31 日
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

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 8 月 31 日
編集済み: Walter Roberson 2015 年 8 月 31 日
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