You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Have surfaces in powerpoint
Accepted Answer
15 Comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179509/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179514/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179681/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179693/image.png)
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
![](/matlabcentral/answers/uploaded_files/21213/test.png)
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)