function fig = fitvariogramfig()
% 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.

%%  Kriging Software Package  version 1.0 beta,   October 29, 1998
%%  Copyright (c) 1998, property of Dezhang Chu and Woods Hole Oceanographic
%%  Institution.  All Rights Reserved.

load fitvariogramfig

h0 = figure('Units','normalized', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'Name','Fit Variogram', ...
	'PaperPosition',[0.25 2.5 6 4], ...
	'PointerShapeCData',mat1, ...
	'Position',[0.28625 0.1683333333333333 0.583125 0.7833333333333334], ...
	'Tag','Fit Variogram');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','close', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat2, ...
	'String','Quit', ...
	'Tag','Pushbutton1');
h1 = axes('Parent',h0, ...
	'Box','on', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat3, ...
	'Position',mat4, ...
	'Tag','variogramAxes1', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = line('Parent',h1, ...
	'Color',[0 0 1], ...
	'LineStyle','none', ...
	'Marker','o', ...
	'Tag','variogramAxes1Line1', ...
	'XData',[], ...
	'YData',[]);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'FontSize',12, ...
	'FontWeight','bold', ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4978902953586498 -0.07799442896935926 17.32050807568877], ...
	'String','Lag (km)', ...
	'Tag','variogramAxes1Text4', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'FontSize',12, ...
	'FontWeight','bold', ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.07383966244725737 0.4958217270194987 17.32050807568877], ...
	'Rotation',90, ...
	'String','Variogram', ...
	'Tag','variogramAxes1Text3', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-0.2215189873417721 1.214484679665738 17.32050807568877], ...
	'Tag','variogramAxes1Text2', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4978902953586498 1.022284122562674 17.32050807568877], ...
	'Tag','variogramAxes1Text1', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','lsqfit', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat5, ...
	'String','LSQ Fit', ...
	'Tag','lsqfit');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ForegroundColor',[0 0 1], ...
	'ListboxTop',0, ...
	'Position',mat6, ...
	'String','Parameters', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'Position',[0.1114683815648446 0.04148936170212766 0.3365487674169346 0.3085106382978723], ...
	'String',mat7, ...
	'Style','listbox', ...
	'Tag','VariogramModel', ...
	'Value',13);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','variomodelhelp', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.0796943231441048 0.3144444444444445 0.02947598253275109 0.03222222222222222], ...
	'String','?', ...
	'Tag','variohelp');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7023121387283237 0.8033333333333333 0.2413294797687861 0.035], ...
	'String','nugget', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.7483333333333333 0.06502890173410404 0.04], ...
	'String','0', ...
	'Style','edit', ...
	'Tag','txtnugt');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','slideraction 1', ...
	'ListboxTop',0, ...
	'Position',[0.7947976878612716 0.7483333333333334 0.1473988439306358 0.035], ...
	'Style','slider', ...
	'Tag','sldnugt');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','slideraction 2', ...
	'ListboxTop',0, ...
	'Position',[0.7962427745664739 0.61 0.1473988439306358 0.035], ...
	'Style','slider', ...
	'Tag','sldsill', ...
	'Value',0.6666666666666666);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.6110183639398998 0.06502890173410404 0.04006677796327212], ...
	'String','1', ...
	'Style','edit', ...
	'Tag','txtsill');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7023121387283235 0.6633333333333333 0.2398843930635838 0.035], ...
	'String','sill', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','slideraction 3', ...
	'ListboxTop',0, ...
	'Position',[0.7947976878612717 0.4833333333333332 0.1473988439306358 0.035], ...
	'Style','slider', ...
	'Tag','sldlscl', ...
	'Value',0.0011572970394674);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.4833333333333333 0.08092485549132948 0.04], ...
	'String','0.5', ...
	'Style','edit', ...
	'Tag','txtlscl');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.5383333333333333 0.2413294797687861 0.035], ...
	'String','length scale', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','slideraction 4', ...
	'ListboxTop',0, ...
	'Position',[0.7947976878612717 0.2116666666666667 0.1473988439306358 0.035], ...
	'Style','slider', ...
	'Tag','sldpowr', ...
	'Value',0.375);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7023121387283235 0.21 0.06647398843930635 0.04], ...
	'String','1.5', ...
	'Style','edit', ...
	'Tag','txtpowr');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231215 0.2633333333333333 0.2398843930635838 0.035], ...
	'String','power', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','slideraction 5', ...
	'ListboxTop',0, ...
	'Position',[0.7962427745664739 0.35 0.1473988439306358 0.035], ...
	'Style','slider', ...
	'Tag','sldosci');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.3466666666666666 0.06647398843930635 0.04], ...
	'String','0', ...
	'Style','edit', ...
	'Tag','txtosci');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008670520231214 0.4 0.2413294797687861 0.035], ...
	'String','scale of hole effect', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','manualfit', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat8, ...
	'String','Apply', ...
	'Tag','manualfig');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','radiovar(1)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4399563318777293 0.4288888888888889 0.175764192139738 0.03333333333333333], ...
	'String','variogram', ...
	'Style','radiobutton', ...
	'Tag','radioVAR', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','radiovar(2)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat9, ...
	'String','correlogram', ...
	'Style','radiobutton', ...
	'Tag','radioCOV');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[0.1255458515283843 0.4277777777777778 0.08187772925764192 0.03444444444444444], ...
	'String','range', ...
	'Style','text', ...
	'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.2150655021834061 0.4277777777777778 0.08406113537117904 0.03666666666666667], ...
	'String','216.0206', ...
	'Style','edit', ...
	'Tag','range');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.2172489082969432 0.3844444444444444 0.08187772925764192 0.03666666666666667], ...
	'String','7.2007', ...
	'Style','edit', ...
	'Tag','delx');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',mat10, ...
	'String','resolution', ...
	'Style','text', ...
	'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','datvarcov', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat11, ...
	'String','Compute', ...
	'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontWeight','bold', ...
	'ForegroundColor',[0 0 0.501960784313725], ...
	'ListboxTop',0, ...
	'Position',[0.2718340611353712 0.9511111111111111 0.4836244541484716 0.03111111111111111], ...
	'Style','text', ...
	'Tag','VarioFileID');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','selectnavigator', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat12, ...
	'String','Navigator', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','getdefaultvarioPara', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat13, ...
	'String','Default', ...
	'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,1)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.705240174672489 0.8033333333333333 0.02510917030567686 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,2)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7019650655021834 0.6644444444444444 0.02510917030567686 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,3)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7030567685589519 0.5377777777777778 0.02510917030567686 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,5)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7019650655021834 0.2633333333333333 0.02510917030567686 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,4)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.7008733624454148 0.4022222222222222 0.02510917030567686 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,6)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat14, ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,7)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat15, ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,13)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4912663755458515 0.1566666666666667 0.02183406113537118 0.01777777777777778], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,12)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4901746724890829 0.2144444444444444 0.02183406113537118 0.01777777777777778], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,10)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4912663755458515 0.3311111111111111 0.02074235807860262 0.01777777777777778], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,11)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4912663755458515 0.2722222222222222 0.02183406113537118 0.01777777777777778], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,8)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.5873362445414847 0.4288888888888889 0.02729257641921397 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,9)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.5873362445414847 0.3844444444444444 0.02729257641921397 0.03333333333333333], ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,14)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat16, ...
	'String','?', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','refreshvario', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.5101822079314041 0.08 0.1189956331877729 0.04], ...
	'String','Refresh', ...
	'Tag','refreshvario');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','advancedvariofig', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',mat17, ...
	'String','Advanced', ...
	'Tag','Pushbutton1', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','helpdisplay(3,15)', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[0.4908896034297964 0.04680851063829787 0.02143622722400857 0.01808510638297873], ...
	'String','?', ...
	'Tag','Pushbutton4', ...
	'Visible','off');
if nargout > 0, fig = h0; end
