📄 exa5_28.m
字号:
clf; %<1>
[x,y,z]=sphere(40); %<2>
colormap(jet) %<3>
subplot(1,2,1); %<4>
surf(x,y,z) %<5>
shading interp %<6>
light('position',[0,-10,1.5],'style','infinite') %<7>
lighting phong %<8>
material shiny %<9>
subplot(1,2,2); %<10>
surf(x,y,z,-z) %<11>
shading flat %<12>
light;lighting flat %<13>
light('position',[-1,-1,-2],'color','y') %<14>
light('pisition',[-1,0.5,1],'style','local','color','w') %<15>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -