?? meshetc.m
字號:
clear
clc
[x,y,z] =peaks;
subplot(2,3,1);
meshz(x,y,z); %曲面加上圍裙,即給出曲面和零平面
axis([-inf inf -inf inf -inf inf]);
subplot(2,3,2);
waterfall(x,y,z); %在x方向產生水流效果
axis([-inf inf -inf inf -inf inf]);
subplot(2,3,3);
meshc(x,y,z); %同時畫出網狀圖與等高線
axis([-inf inf -inf inf -inf inf]);
subplot(2,3,4);
surfc(x,y,z); %同時畫出曲面圖與等高線
axis([-inf inf -inf inf -inf inf]);
subplot(2,3,5)
surfl(x,y,z); %給出帶光照效果的彩色表面圖
axis([-inf inf -inf inf -inf inf]);
subplot(2,3,6)
contourf(x,y,z);
axis([-inf inf -inf inf -inf inf]);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -