?? q2534.m
字號:
%色彩的渲染
clf;echo on
x=-6:0.4:6;y=x;
[x,y]=meshgrid(x,y);
r=sqrt(x.^2+y.^2)+eps;
z=sin(r)./r;
surf(z);colormap(hsv);
shading flat
pause
figure(2)
surf(z);%colormap(hsv);
colormap(copper);
shading interp;
pause
figure(3)
surf(z);colormap(hsv);
shading faceted;
echo off
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -