How to improve the quality of 3d surfaces for publication purposes

34 次查看(过去 30 天)
Hi guys,
I want to enhance the quality of 3d surfaces so that they can be displayed in a presentation or be published. I want to make these surfaces look more beautiful, modern, etc. etc. I currently have the below. Can you find ways to improve on this? Thank you.
%Setting a white background and clean font
set(0,'DefaultFigureColor','White','defaultaxesfontsize',8,'DefaultAxesFontname','Calibri','DefaultTextFontName','Calibri')
s1 = surf(peaks);
colormap(winter(256))
%Setting the axes label, type, position, rotation, etc.
xlabel('X Label', 'fontweight', 'bold')
ylabel('Y Label', 'fontweight', 'bold')
zlabel('Z Label', 'fontweight', 'bold')
view (135,15);
yh = get(gca,'YLabel'); % Handle of the y label
set(yh, 'Units', 'Normalized')
pos = get(yh, 'Position');
set(yh, 'Position',pos.*[0.85,0.6,1],'Rotation',-10.9)
xh = get(gca,'XLabel'); % Handle of the x label
set(xh, 'Units', 'Normalized')
pos = get(xh, 'Position');
set(xh, 'Position',pos.*[1,1,1],'Rotation',11.1)
zh = get(gca,'ZLabel'); % Handle of the z label
set(zh, 'Units', 'Normalized')
pos = get(zh, 'Position');
set(zh, 'Position',pos.*[1.5,1,0],'Rotation',90)
title('Surface Example', 'FontSize', 12, 'fontweight', 'bold')
%Enhancing the surface characteristics
axis tight
camlight
lighting phong
shading interp
set(s1,'edgecolor',[0 0 0.4],'meshstyle','both','linewidth',.15);
%Exporting as a high resolution png
export_fig Matlab_Sample.png -m3 -q101 -nocrop

回答(1 个)

Image Analyst
Image Analyst 2015-1-3
Looks pretty darn good to me, but you might check out Waterloo that purports to give outstanding graphics: http://www.mathworks.com/matlabcentral/answers/56890-publication-quality-graphics-in-matlab

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by