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

h0 = figure('Units','normalized', ...
	'ButtonDownFcn','armagui fig_buttondown', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'PaperType','a4letter', ...
	'Position',[0.04140625000000001 0.033203125 0.92109375 0.87109375], ...
	'Tag','PN-figure');
h1 = axes('Parent',h0, ...
	'Box','on', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat1, ...
	'Position',[0.4690415606446141 0.702914798206278 0.5004240882103478 0.2511210762331839], ...
	'Tag','Kvf-axis', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4983050847457627 -0.09654017857142856 0], ...
	'Tag','Axes2Text4', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.04682203389830508 0.4955357142857142 0], ...
	'Rotation',90, ...
	'Tag','Axes2Text3', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',mat2, ...
	'Tag','Axes2Text2', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4983050847457627 1.026785714285714 0], ...
	'String','Covariance function', ...
	'Tag','Axes2Text1', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Box','on', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat3, ...
	'Position',[0.4681933842239186 0.4103139013452915 0.5021204410517388 0.2477578475336323], ...
	'Tag','Spec-axis', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4983108108108109 -0.09785067873303169 0], ...
	'Tag','Axes3Text4', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.04666385135135136 0.497737556561086 0], ...
	'Rotation',90, ...
	'Tag','Axes3Text3', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-0.9341216216216217 2.375565610859729 0], ...
	'Tag','Axes3Text2', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat4, ...
	'String','Spectral density', ...
	'Tag','Axes3Text1', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Box','on', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat5, ...
	'Position',[0.03307888040712468 0.08632286995515695 0.6556403731976251 0.2802690582959641], ...
	'Tag','Real-axis', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4980595084087969 -0.08650000000000001 0], ...
	'Tag','Axes4Text4', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.03573738680465718 0.496 0], ...
	'Rotation',90, ...
	'Tag','Axes4Text3', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-0.0517464424320828 3.256 0], ...
	'Tag','Axes4Text2', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4980595084087969 1.024 0], ...
	'String','Realisering', ...
	'Tag','Axes4Text1', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Box','on', ...
	'ButtonDownFcn','armagui axis_buttondown', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat6, ...
	'NextPlot','add', ...
	'Position',[0.0356234096692112 0.4125560538116592 0.3969465648854962 0.5426008968609866], ...
	'Tag','PN-axis', ...
	'XColor',[0 0 0], ...
	'XLim',[-1.2 1.2], ...
	'XLimMode','manual', ...
	'YColor',[0 0 0], ...
	'YLim',[-1.2 1.2], ...
	'YLimMode','manual', ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4978632478632479 -0.04467975206611571 0], ...
	'Tag','Axes1Text4', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.07612179487179488 0.4979338842975207 0], ...
	'Rotation',90, ...
	'Tag','Axes1Text3', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-0.09188034188034189 1.080578512396694 0], ...
	'Tag','Axes1Text2', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4978632478632479 1.012396694214876 0], ...
	'String','Poler och nollställen', ...
	'Tag','Axes1Text1', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = line('Parent',h1, ...
	'Color',[0 0 0], ...
	'Tag','Axes1Line3', ...
	'XData',mat7, ...
	'YData',mat8);
h2 = line('Parent',h1, ...
	'Color',[0 0 0], ...
	'Tag','Axes1Line2', ...
	'XData',[-1.2 1.2], ...
	'YData',[-0 0]);
h2 = line('Parent',h1, ...
	'Color',[0 0 0], ...
	'Tag','Axes1Line1', ...
	'XData',[-0 0], ...
	'YData',[-1.2 1.2]);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui addrealpole', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.3475336322869955 0.1297709923664122 0.03699551569506727], ...
	'String','Real pole', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','armagui addcomplexpole', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.304932735426009 0.1297709923664122 0.03811659192825112], ...
	'String','Complex pole', ...
	'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui addrealzero', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.2645739910313901 0.1297709923664122 0.03475336322869955], ...
	'String','Real zero', ...
	'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'Callback','armagui addcomplexzero', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.2242152466367713 0.1297709923664122 0.03587443946188341], ...
	'String','Complex zero', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui close', ...
	'ListboxTop',0, ...
	'Position',[0.8354537743850721 0.02242152466367713 0.1331636980491942 0.04035874439461883], ...
	'String','Close', ...
	'Tag','Pushbutton6');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui stabilityflag', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.1860986547085202 0.1297709923664122 0.03475336322869955], ...
	'String','Request stability', ...
	'Style','checkbox', ...
	'Tag','stabilityflag', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','armagui simulationlength', ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',mat9, ...
	'Style','edit', ...
	'Tag','simulationlength');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'ListboxTop',0, ...
	'Position',[0.8354537743850721 0.2455156950672646 0.1340118744698897 0.01905829596412556], ...
	'String','Simulation length:', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui simulate', ...
	'ListboxTop',0, ...
	'Position',[0.8354537743850721 0.1558295964125561 0.1314673452078032 0.0437219730941704], ...
	'String','Simulate', ...
	'Tag','Pushbutton7');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'ListboxTop',0, ...
	'Position',[0.8354537743850721 0.3082959641255605 0.1331636980491942 0.02354260089686099], ...
	'String','Cvf length:', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','armagui covflength', ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',mat10, ...
	'Style','edit', ...
	'Tag','covflength');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui zoom', ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Max',7, ...
	'Min',1, ...
	'Position',[0.03392705682782018 0.02242152466367713 0.09499575911789652 0.03587443946188341], ...
	'String',['Zoom 1 ';'Zoom 2 ';'Zoom 4 ';'Zoom 8 ';'Zoom 16';'Zoom 32';'Zoom 64'], ...
	'Style','popupmenu', ...
	'Tag','zoom', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui location', ...
	'ListboxTop',0, ...
	'Position',[0.1467345207803223 0.02242152466367713 0.539440203562341 0.03475336322869955], ...
	'Style','slider', ...
	'Tag','location');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[0.8982188295165394 0.07174887892376682 0.06955046649703138 0.03587443946188341], ...
	'Style','edit', ...
	'Tag','exportname');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui export', ...
	'ListboxTop',0, ...
	'Position',[0.8346055979643766 0.06838565022421525 0.06361323155216285 0.03923766816143498], ...
	'String','Export', ...
	'Tag','export');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui scale', ...
	'ListboxTop',0, ...
	'Max',2, ...
	'Min',1, ...
	'Position',mat11, ...
	'String',['Linear scale';'Log scale   '], ...
	'Style','popupmenu', ...
	'Tag','scale', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui clear', ...
	'ListboxTop',0, ...
	'Position',[0.6997455470737913 0.1423766816143498 0.1263782866836302 0.03811659192825112], ...
	'String','Erase everything', ...
	'Tag','Pushbutton5');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.7019609999999999 0.7019609999999999 0.7019609999999999], ...
	'Callback','armagui import', ...
	'ListboxTop',0, ...
	'Position',mat12, ...
	'String','Import', ...
	'Tag','Pushbutton8');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',mat13, ...
	'Style','edit', ...
	'Tag','importname');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','armagui season', ...
	'ListboxTop',0, ...
	'Position',[0.7014418999151824 0.0695067264573991 0.05767599660729432 0.03139013452914798], ...
	'Style','edit', ...
	'Tag','season');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'ListboxTop',0, ...
	'Position',mat14, ...
	'String','Season (S)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'ListboxTop',0, ...
	'Position',mat15, ...
	'String','a_S', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','armagui seasoncoeff', ...
	'ListboxTop',0, ...
	'Position',[0.7633587786259541 0.0695067264573991 0.05937234944868532 0.03139013452914798], ...
	'Style','edit', ...
	'Tag','seasoncoeff');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...
	'Callback','armagui Sshow', ...
	'ListboxTop',0, ...
	'Position',[0.7014418999151824 0.02354260089686099 0.1255301102629347 0.03923766816143498], ...
	'String','Show season', ...
	'Style','checkbox', ...
	'Tag','Sshow');
if nargout > 0, fig = h0; end
