>> [x,y,z]=peaks;>> colormap(copper);
>> colormap(copper);
>> subplot(1,3,1);
>> surf(x,y,z);shading faceted;
>> title('shading faceted');
>> xlabel('x');ylabel('y');
>> zlabel('z');
>> axis equel;
>> axis equal;
>> subplot(1,3,2);
>> surf(x,y,z);shading flat;
>> axis equal
>> title('shading flat');
>> xlabel('x');ylabel('y');zlabel('z');
>> subplot(1,3,3);
>> surf(x,y,z);shading interp;
>> axis equal;
>> title('shading interp');
>> xlabel('x');
>> ylabel('y');zlabel('z');
|