?? ex230.m
字號:
%****************************************************
%EX230.M
%功能:等高線繪制函數使用實例
%****************************************************
z=peaks; %繪制peaks圖形
subplot(2,1,1) %子圖設置
contour(z) %繪制peaks圖形等高線圖
subplot(2,1,2) %子圖設置
[c,h]=contour(z,[3.8 1.5]);
clabel(c,h) %標注等高線圖中的函數值,如圖2-38
figure %新建圖形窗口
subplot(2,1,1) %子圖設置
[c,h]=contour(z,4);
clabel(c,h) %標注等高線圖中的函數值
subplot(2,1,2) %子圖設置
contourf(z,4) %如圖2-39
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -