segymatdemo1.m

来自「这是用matlab对segy数据进行处理」· M 代码 · 共 33 行

M
33
字号
% SegyMATdemo1 : Creates, Reads and plots a Segy File;

% load test data set
load Clown;

% choose a file name;
file='segy_test.sgy';

% Write segy file, using default setting
WriteSegy(file,X);

% Read the segy file with Segy Header and Segy Trace Header
[Data,STH,SH]=ReadSegy(file);


x=[STH.TraceNumber];
t=SH.time;


subplot(2,2,1)
wiggle(x,t,Data) % variable Area
title('Wiggle')
subplot(2,2,2)
title('Wiggle')
wiggle(x,t,Data,'VA') % variable Area
title('Variable Area')

subplot(2,1,2)
scale=1; % MAX Data Value
showmax=300; % Max number of traces to display using wiggle
plimage=1; % plot image plot
wiggle(x,t,Data,'wiggle',[],showmax,plimage);
title('Wiggle + image')

⌨️ 快捷键说明

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