📄 shili27.asv
字号:
function shili27
subplot(221);
sphere
shading flat
%去掉网格线
camlight left
%根据相机的位置移动光源
camlight right
lighting flat
%建立光源对象,均衡图形中每个小表面的交叉颜色
colorbar
%添加颜色条
axis off
%去掉坐标轴
title('F1')
subplot(222)
sphere
shading flat
camlight left
camlight right
lighting gouraud
%对小表面的交叉颜色做颜色插值
colorbar
axis off
axis off
title('F2')
subplot(223)
sphere
shading interp
camlight right
camlight left
lighting phong
%对小表面的交叉颜色做颜色插值,并计算每个像素的反射比
colorbar
axis off
title('F3')
subplot(224)
sphere
shading flat
camlight left
camlight right
lighting none
%关闭照明
colorbar
axis off
title('F4')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -