7-13.m

来自「文件是学习matlab过程中关于图形图像处理的源程序」· M 代码 · 共 12 行

M
12
字号
[x,y,z] =peaks;     
subplot(1,2,1)
meshc(x,y,z);                                 
%同时画出网格图与轮廓线
title('meshc 网格图与轮廓线')
axis([-inf inf -inf inf -inf inf]);
subplot(1,2,2)
surfc(x,y,z);                                 
%同时画出曲面图与轮廓线
title('surfc 曲面图与轮廓线')
axis([-inf inf -inf inf -inf inf]);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?