www.pudn.com > matlab±à³Ì.zip > fig10_1.m


function fig = junk() 
% 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 junk 
 
h0 = figure('Color',[0.8 0.8 0.8], ... 
   'Colormap',mat0, ... 
   'PointerShapeCData',mat1, ... 
   'Position',[391 328 585 386], ... 
   'Tag','Fig1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'ListboxTop',0, ... 
   'Position',[21.72413793103449 193.6551724137931 57.10344827586208 32.27586206896552], ... 
   'String','Push Button', ... 
   'Tag','Pushbutton1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'ListboxTop',0, ... 
   'Position',[21.10344827586208 152.6896551724138 57.10344827586208 32.27586206896552], ... 
   'String','Toggle Button', ... 
   'Style','togglebutton', ... 
   'Tag','Pushbutton2'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[1 1 0], ... 
   'ListboxTop',0, ... 
   'Position',[13.03448275862069 101.7931034482759 93.10344827586209 41.58620689655173], ... 
   'Style','frame', ... 
   'Tag','Frame1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[1 1 0], ... 
   'ListboxTop',0, ... 
   'Position',[22.3448275862069 124.1379310344828 81.31034482758622 14.27586206896552], ... 
   'String','Radio Button 1', ... 
   'Style','radiobutton', ... 
   'Tag','Radiobutton1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[1 1 0], ... 
   'ListboxTop',0, ... 
   'Position',mat2, ... 
   'String','Radio Button 2', ... 
   'Style','radiobutton', ... 
   'Tag','Radiobutton2'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 
   'ListboxTop',0, ... 
   'Position',[23.58620689655173 79.44827586206898 67.65517241379313 12.41379310344828], ... 
   'String','Check Box', ... 
   'Style','checkbox', ... 
   'Tag','Checkbox1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 
   'ListboxTop',0, ... 
   'Position',mat3, ... 
   'String','Label:', ... 
   'Style','text', ... 
   'Tag','StaticText1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[1 1 1], ... 
   'ListboxTop',0, ... 
   'Position',[67.0344827586207 47.79310344827587 53.37931034482759 16.75862068965517], ... 
   'String','Edit Box', ... 
   'Style','edit', ... 
   'Tag','EditText1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 
   'ListboxTop',0, ... 
   'Position',mat4, ... 
   'Style','slider', ... 
   'Tag','Slider1'); 
h1 = uicontrol('Parent',h0, ... 
   'Units','points', ... 
   'BackgroundColor',[1 1 1], ... 
   'Position',[171.9310344827587 13.03448275862069 159.5172413793104 40.96551724137932], ... 
   'String',mat5, ... 
   'Style','listbox', ... 
   'Tag','Listbox1', ... 
   'Value',1); 
h1 = axes('Parent',h0, ... 
   'Units','pixels', ... 
   'CameraUpVector',[0 1 0], ... 
   'Color',[1 1 1], ... 
   'ColorOrder',mat6, ... 
   'Position',[263 145 289 226], ... 
   'Tag','Axes1', ... 
   'XColor',[0 0 0], ... 
   'YColor',[0 0 0], ... 
   'ZColor',[0 0 0]); 
h2 = text('Parent',h1, ... 
   'Color',[0 0 0], ... 
   'HandleVisibility','off', ... 
   'HorizontalAlignment','center', ... 
   'Position',[0.4965277777777777 -0.1244444444444446 9.160254037844386], ... 
   'Tag','Axes1Text4', ... 
   'VerticalAlignment','cap'); 
set(get(h2,'Parent'),'XLabel',h2); 
h2 = text('Parent',h1, ... 
   'Color',[0 0 0], ... 
   'HandleVisibility','off', ... 
   'HorizontalAlignment','center', ... 
   'Position',[-0.1215277777777778 0.4933333333333333 9.160254037844386], ... 
   'Rotation',90, ... 
   'Tag','Axes1Text3', ... 
   'VerticalAlignment','baseline'); 
set(get(h2,'Parent'),'YLabel',h2); 
h2 = text('Parent',h1, ... 
   'Color',[0 0 0], ... 
   'HandleVisibility','off', ... 
   'HorizontalAlignment','right', ... 
   'Position',mat7, ... 
   'Tag','Axes1Text2', ... 
   'Visible','off'); 
set(get(h2,'Parent'),'ZLabel',h2); 
h2 = text('Parent',h1, ... 
   'Color',[0 0 0], ... 
   'HandleVisibility','off', ... 
   'HorizontalAlignment','center', ... 
   'Position',mat8, ... 
   'Tag','Axes1Text1', ... 
   'VerticalAlignment','bottom'); 
set(get(h2,'Parent'),'Title',h2); 
if nargout > 0, fig = h0; end