?? conplot3.m
字號:
clear
clc
subplot(2,2,1)
contour3(peaks,50); %畫出曲面在三度空間中的等高線
axis([-inf inf -inf inf -inf inf]);
subplot(2,2,2)
contour(peaks, 50); %畫出曲面等高線在XY平面的投影
subplot(2,2,3)
t=linspace(0,20*pi, 501);
plot3(t.*sin(t), t.*cos(t), t);% 畫出三度空間中的曲線
subplot(2,2,4)
plot3(t.*sin(t), t.*cos(t), t, t.*sin(t), t.*cos(t), -t);% 同時畫出兩條三度空間中的曲線
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -