gusucode.com > ​DSISoft是由加拿大地质调查局发布的用于垂直地震剖面(VSP)数据处理的免费软件包 > dsisoftv3/dsisoftv3/dsisoftv3/demos2/demo2.m

    function fig = demo2()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.

load demo2

h0 = figure('Units','normalized', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'HandleVisibility','off', ...
	'Name','DSISoft Demo', ...
	'NumberTitle','off', ...
	'Position',mat1, ...
	'Tag','Fig1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'FontSize',14, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.1489392873886545 0.9108108108108107 0.7215189873417721 0.05945945945945946], ...
	'String','DSISoft Version 2.0 Demo', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','demoproc0;', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.8349474474474475 0.712318330989217 0.05743243243243244], ...
	'String','Start/Load Dataset', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','close all;close hidden;clear;', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.1552684013127051 0.02027027027027027 0.7088607594936709 0.06486486486486487], ...
	'String','QUIT', ...
	'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','plothd', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.1010885885885886 0.712318330989217 0.05743243243243244], ...
	'String','plothd', ...
	'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','pick1comp', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.1744744744744745 0.712318330989217 0.05743243243243244], ...
	'String','pick1comp', ...
	'Tag','Pushbutton5');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','fkpoly', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.2478603603603604 0.712318330989217 0.05743243243243244], ...
	'String','fkpoly', ...
	'Tag','Pushbutton6');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','dispseis', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.3212462462462463 0.712318330989217 0.05743243243243244], ...
	'String','dispseis', ...
	'Tag','Pushbutton7');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','aspec', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.3946321321321322 0.712318330989217 0.05743243243243244], ...
	'String','aspec', ...
	'Tag','Pushbutton8');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback',mat2, ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.7615615615615617 0.712318330989217 0.05743243243243244], ...
	'String','Electrical Noise Removal', ...
	'Tag','Pushbutton9');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback',mat3, ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.6881756756756758 0.712318330989217 0.05743243243243244], ...
	'String','Predictive Deconvolution', ...
	'Tag','Pushbutton10');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback',mat4, ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.1528944911297853 0.6147897897897899 0.7093253968253967 0.05743243243243244], ...
	'String','Median Filter', ...
	'Tag','Pushbutton11');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback',mat5, ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.541403903903904 0.712318330989217 0.05743243243243244], ...
	'String','f-k Filtering', ...
	'Tag','Pushbutton12');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback',mat6, ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.153539615564932 0.4680180180180181 0.712318330989217 0.05743243243243244], ...
	'String','Bandpass Filtering', ...
	'Tag','Pushbutton13');
if nargout > 0, fig = h0; end