📄 exm09076_1.m
字号:
clf reset,t=(0:20)/20;r=2.5-cos(2*pi*t);[x,y,z]=cylinder(r,40);
fc = get(gca,'color');
h=surface(x,y,z,'FaceColor',fc,'EdgeColor','flat','FaceLighting', 'none','EdgeLighting','flat');
view(3); grid on ,axis off
disp(' ')
disp('按任意键继续 !')
pause
%
set(h,'FaceColor','flat','LineStyle','-','EdgeColor',[.8 .8 .8]) %<6>
disp(' ')
disp('按任意键继续 !')
pause
%
set(h,'FaceColor','interp','MeshStyle','column') %<7>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -