Have surfaces in powerpoint
采纳的回答
15 个评论




1. Yes, among a few of my personal preferences I change the background color of all my figures to white by default. Here's what I have in my startup.m file:
set(0,'DefaultFigureColor','White',...
'DefaultTextFontSize',14,...
'defaultaxesfontsize',14,...
'DefaultAxesFontname','Times',...
'DefaultTextFontName','Times')2. If you want some padding, use the -nocrop option when you use export_fig.
3. I suspect that adding edgealpha is changing your figure renderer to OpenGL, because OpenGL is the only renderer that can handle transparency. Instead of making the lines transparent, you can turn them off entirely, or make them very thin. Above, you specified a linewidth of 2. Let's make it quite a bite smaller:
h = surf(peaks);
axis tight
camlight
colormap(winter(256))
lighting phong
shading interp
set(h,'edgecolor',[0 0 0.4],'meshstyle','both',...
'linewidth',.0001);
export_fig test -png -nocrop -m7 -q101
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
