mm2806.m

来自「matlab7.0这本书的源代码」· M 代码 · 共 33 行

M
33
字号
subplot(2,2,1)
sphere
light
shading interp
axis square off
lighting none
title('Figure 28.6a: No Lighting')

subplot(2,2,2)
sphere
light
shading interp
axis square off
lighting flat
title('Figure 28.6b: Flat Lighting')

subplot(2,2,3)
sphere
light
shading interp
axis square off
lighting gouraud

title('Figure 28.6c: Gouraud Lighting')

subplot(2,2,4)
sphere
light
shading interp
axis square off
lighting phong
title('Figure 28.6d: Phong Lighting')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?