标题:
用三种方式对多峰函数产生的三维图形进行着色处理
[打印本页]
作者:
liuda
时间:
2015-1-22 03:11
标题:
用三种方式对多峰函数产生的三维图形进行着色处理
>> [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');
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1