7-13.m
来自「matlab图像程序.zip」· 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 + -
显示快捷键?