plotcontroller.m

来自「利用C」· M 代码 · 共 22 行

M
22
字号
% Copyright (C) 2005 Anders Logg.% Licensed under the GNU LGPL Version 2.1.% % Simple script for evaluating the performance of% different time step controllers.clfsubplot(2,1,1)plot(t, k)subplot(2,1,2)e = k.*abs(r);semilogy(t, e);hold onplot(t, 2.0*tol*ones(size(t)))plot(t, 1.0*tol*ones(size(t)))plot(t, 0.5*tol*ones(size(t)))grid onxlabel('t')ylabel('e')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?