📄 spec1d_cplot.m
字号:
% 1D single sediment layer Amplification Ratio% Contour plot% H.Rendon Set. 2001clear;disp('1D amplification spectral estimation');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Define Model Parametersa1 = 1775.; b1 = 1025.; ro1 = 1800; %BASEMENT Half Spacea2 = 4000.; b2 = 2300.; ro2 = 2200; %SEDIMENTARY Layer% Plot settingsfmin = 0.5; %Minimum frequencyfmax = 5.; %Maximun frequencyN = 50; %Number of frequenciesxscal = 0.001 ;% Look also at shifting of x-axis, some lines down% and fix contour options (at the end of this file)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Define the diferent depths along the Valleydepthfile = input('Enter depth file : ','s');% Define the incident wavetheta = input('Enter incidence angle with respect X-axis => '); %Angle of incidenceindex = input('(1) P-Wave, (2) S-Wave ');% Computespec1D ;% Contour plotV=[0 : 0.5 : 4]; [C,Hc]=contour(LOC,f,UX,V,'k');clabel(C,Hc,V); %[C,H]=contour(LOC,f,UX,'w');clabel(C,H);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -