?? ex0406.m
字號:
%用subplot命令畫多個子圖
x=0:0.1:2*pi;
subplot(2,2,1) %分割為2*2個子圖,左上方為當前圖
plot(x,sin(x))
subplot(2,2,2) %右方為當前圖
plot(x,cos(x))
subplot(2,2,3) %左下方為當前圖
plot(x,sin(3*x))
subplot(224) %右下方為當前圖,省略逗號
plot(x,cos(3*x))
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -