📄 plotsim.m
字号:
function plotsim(t,x,y)
%PLOTSIM Function called by the integrators to plot graphs.
% This function is only called when the integrators are
% called with no left hand arguments.
% If you don't want graphs to automatically be plotted
% you can comment out the following lines.
%
% Copyright (c) 1990-94 by The MathWorks, Inc.
% Andrew Grace 11-12-90.
if nargin > 2
if isempty(y), return, end
plot(t,y)
title('Output trajectory')
else
if isempty(x), return, end
plot(t,x)
title('State trajectory')
end
xlabel('Time')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -