标题:
用光照处理多峰函数产生的三维曲面图形
[打印本页]
作者:
liuda
时间:
2015-1-22 03:10
标题:
用光照处理多峰函数产生的三维曲面图形
[x,y,z]=peaks;>> subplot(1,2,1);
>> surf(x,y,z);axis equal;
>> light('posi',[0,1,1]);
>> shading flat;hold on;
>> title('posi[0,1,1]');
>> xlabel('x');ylabel('y');zlabel('z');
>> subplot(1,2,2);
>> surf(x,y,z);axis equal;
>> light('posi',[1,1,0]);
>> shading flat;
>> hold on;
>> title('posi[1,1,0]');
>> xlabel('x');ylabel('y');zlabel('z');
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1