plot_test.m

来自「Spectral Element Method for wave propaga」· M 代码 · 共 18 行

M
18
字号
% run first analyze_test.mfac = 100; % factor to scale the differencesubplot(221)plot(t,ux(:,1),t,uxa(:,1), t,(ux(:,1)-uxa(:,1))*fac,'--')title('component X receiver 1')legend('SEM2DPACK','EX2DDIR','diff \times 100','Location','SE')subplot(222)plot(t,ux(:,2),t,uxa(:,2), t,(ux(:,2)-uxa(:,2))*fac,'--')title('component X receiver 2')subplot(223)plot(t,uz(:,1),t,uza(:,1),  t,(uz(:,1)-uza(:,1))*fac,'--')title('component Z receiver 1')subplot(224)plot(t,uz(:,2),t,uza(:,2),  t,(uz(:,2)-uza(:,2))*fac,'--')title('component Z receiver 2')

⌨️ 快捷键说明

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