function fig = def_create() load def_create h0 = figure('Color',[0.8 0.8 0.8], ... 'Colormap',mat0, ... 'PointerShapeCData',mat1, ... 'Position',[120 120 560 420], ... 'Tag','Fig1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','Select deformation level applied to template', ... 'FontSize',22, ... 'ListboxTop',0, ... 'Position',[54 250.5 325.5 43.5], ... 'String','Select deformation level applied to template', ... 'Style','text', ... 'Tag','StaticText1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','deflevel=get(gco,''Value'');save Noise deflevel', ... 'ListboxTop',0, ... 'Position',[55.5 138 312 27], ... 'Style','slider', ... 'Tag','Slider1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ButtonDownFcn','0', ... 'FontSize',12, ... 'ListboxTop',0, ... 'Position',[59.25 166.5 19.5 14.25], ... 'String','0', ... 'Style','text', ... 'Tag','StaticText2'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'FontSize',12, ... 'ListboxTop',0, ... 'Position',[354.75 167.25 14.25 15.75], ... 'String','1', ... 'Style','text', ... 'Tag','StaticText3'); if nargout > 0, fig = h0; end