📄 resplot.m
字号:
% ---------------------------------------------------------------------
% RESPLOT
%
% Sample plot-macro, to be used after running RESULTS.
%
% Change the source-code of this program if you want to plot other
% results or if you are not satisfied with the current presentation of
% the results.
%
% In future versions of the FDC toolbox, this routine will be improved
% considerably.
% ---------------------------------------------------------------------
% First, close all existing figures
% ---------------------------------
close all
hold off;
clf
subplot(221); plot(time,V); grid;
xlabel('time [s]'); ylabel('V [m/s]');
subplot(222); plot(time,alpha); grid;
xlabel('time [s]'); ylabel('alpha [deg]');
subplot(223); plot(time,beta); grid;
xlabel('time [s]'); ylabel('beta [deg]');
subplot(224); plot(time,H); grid;
xlabel('time [s]'); ylabel('H [m]');
pause
clf
subplot(221); plot(time,p); grid;
xlabel('time [s]'); ylabel('p [deg/s]');
subplot(222); plot(time,q); grid;
xlabel('time [s]'); ylabel('q [deg/s]');
subplot(223); plot(time,r); grid;
xlabel('time [s]'); ylabel('r [deg/s]');
pause
clf
subplot(221); plot(time,psi); grid;
xlabel('time [s]'); ylabel('psi [deg]');
subplot(222); plot(time,theta); grid;
xlabel('time [s]'); ylabel('theta [deg]');
subplot(223); plot(time,phi); grid;
xlabel('time [s]'); ylabel('phi [deg]');
pause
clf
subplot(221); plot(time,deltae); grid;
xlabel('time [s]'); ylabel('deltae [deg]');
subplot(222); plot(time,deltaa); grid;
xlabel('time [s]'); ylabel('deltaa [deg]');
subplot(223); plot(time,deltar); grid;
xlabel('time [s]'); ylabel('deltar [deg]');
subplot(224); plot(time,uw,time,vw,time,ww); grid;
xlabel('time [s]'); ylabel('uw, vw, ww [m/s]');
%------------------------------------------------------------------------------
% The FDC toolbox. Copyright Marc Rauw, 1994-2000.
% Last revision of this program: October 7, 1997.
%
% Revision history since October 7, 1997:
% =======================================
% October 7, 1997
% - Replaced CLG commands by CLF for Matlab 5 compatibility.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -