【奠基经典】MATLAB实用程序案例之设置照明方式
设置照明方式
实例:
function shili27
h0=figure('toolbar','none',...
'position',,...
'name','实例27');
subplot(2,2,1)
sphere
shading flat
camlight left
camlight right
lighting flat
colorbar
axis off
title('Figure1')
subplot(2,2,2)
sphere
shading flat
camlight left
camlight right
lighting gouraud
colorbar
axis off
title('Figure2')
subplot(2,2,3)
sphere
shading interp
camlight right
camlight left
lighting phong
colorbar
axis off
title('Figure3')
subplot(2,2,4)
sphere
shading flat
camlight left
camlight right
lighting none
colorbar
axis off
title('Figure4')
关于本帖内容欢迎大家踊跃讨论,与在下交流!
页:
[1]