?? transportplotok.m
字號:
% TransportPlot.m
function TransportPlot(xmin, dx, xmax, dt, tmax, c)
sol = transport(xmin, dx, xmax, dt, tmax, c, 'f0transp');
subplot(2,2,1)
plot(xmin:dx:xmax, sol(:,1))
axis([xmin xmax -0.1 1.1])
subplot(2,2,2)
plot(xmin:dx:xmax, sol(:,50))
axis([xmin xmax -0.1 1.1])
subplot(2,2,3)
plot(xmin:dx:xmax, sol(:,100))
axis([xmin xmax -0.1 1.1])
subplot(2,2,4)
plot(xmin:dx:xmax, sol(:,200))
axis([xmin xmax -0.1 1.1])
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -