?? light_way.m
字號:
h0=figure('toolbar','none',... %設置句柄屬性值
'position',[200 150 450 350],...
'name','例子');
subplot(2,2,1) %子圖1中繪制球
sphere
shading flat %設置光照效果
camlight left
camlight right
lighting flat
colorbar
axis off %隱藏坐標軸
title('Figure1')
subplot(2,2,2)
sphere
shading flat
camlight left
camlight right
lighting gouraud
colorbar
axis off
title('Figure2')
subplot(2,2,3)
sphere
shading interp
camlight right
camlight left
lighting phong
colorbar
axis off
title('Figure3')
subplot(2,2,4)
sphere
shading flat
camlight left
camlight right
lighting none
colorbar
axis off
title('Figure4')
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -