s_plot.m
来自「基于Matlab的地震数据处理显示和测井数据显示于处理的小程序」· M 代码 · 共 38 行
M
38 行
function s_plot(seismic)% "Quick-look" plot of seismic data. Color plot if there are more than % S4M.ntr_wiggle2color (usually 101) traces; otherwise wiggle trace plot.% Seismic traces are individually scaled.% For more sophisticated plots use functions "s_wplot" or "s_cplot" or s_iplot.%% Written by: E. R.: August 3, 2001% Last updated: June 28, 2006: More extensive input check%% s_plot(seismic)% INPUT% seismic seismic structure or an array% % EXAMPLES% seismic=s_data;% s_plot(seismic) % Seismic input% s_plot(seismic.traces) % Matrix inputglobal S4Mif isempty(S4M) presetsendif istype(seismic,'seismic') ntr=size(seismic.traces,2);elseif isnumeric(seismic) ntr=size(seismic,2);else error('The input argument must be a seismic data set or a matrix.')endif ntr > S4M.ntr_wiggle2color s_cplot(seismic,{'scale','yes'})else s_wplot(seismic,{'scale','yes'})end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?