📄 sample_seis.m
字号:
% Example, assuming 2D P-SV% Read seismogram outputs from SEM2DPACKdata = read_seis();% Plot all x-component traces together, offset by distance to first stationfigure(1)d = sqrt((data.x-data.x(1)).^2 +(data.z-data.z(1)).^2);plot_seis(d,data.dt,data.ux)% Plot seismograms (two components) at first stationt = [1:data.nt]*data.dt;figure(2)subplot(211)plot(t,data.ux(:,1))ylabel('Ux')subplot(212)plot(t,data.uz(:,1))ylabel('Uz')xlabel('Time (s)')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -