www.gusucode.com > Matlab精彩编程100例源码程序 > Matlab精彩编程100例源码/work/shili27.m
function shili27 h0=figure('toolbar','none',... 'position',[200 150 450 350],... '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')