shading545.m
来自「matlab7.0从入门到精通(光盘内容)」· M 代码 · 共 12 行
M
12 行
function shading545
subplot(3,1,1); sphere(16)
axis square; shading flat
title('Flat Shading')
subplot(3,1,2); sphere(16)
axis square; shading faceted
title('Faceted Shading')
subplot(3,1,3); sphere(16)
axis square; shading interp
title('Interpolated Shading')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?