rcs_frustum_gui.m
上传用户:szahd2008
上传日期:2020-09-25
资源大小:1275k
文件大小:5k
- function fig = rcs_frustum_driver()
- % 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.
- % This problem is solved by saving the output as a FIG-file.
- %
- % 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.
- %
- % NOTE: certain newer features in MATLAB may not have been saved in this
- % M-file due to limitations of this format, which has been superseded by
- % FIG-files. Figures which have been annotated using the plot editor tools
- % are incompatible with the M-file/MAT-file format, and should be saved as
- % FIG-files.
- load rcs_frustum_driver
- h0 = figure('Color',[0.8 0.8 0.8], ...
- 'Colormap',mat0, ...
- 'FileName','C:RSAchap2programsrcs_frustum_driver.m', ...
- 'PaperPosition',[18 180 576 432], ...
- 'PaperUnits','points', ...
- 'Position',[418 155 560 527], ...
- 'Tag','Fig1', ...
- 'ToolBar','none');
- h1 = axes('Parent',h0, ...
- 'Units','pixels', ...
- 'CameraUpVector',[0 1 0], ...
- 'Color',[1 1 1], ...
- 'ColorOrder',mat1, ...
- 'Position',[53 252 396 225], ...
- '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.4987341772151899 -0.1071428571428572 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.07341772151898736 0.4955357142857142 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',mat2, ...
- 'Tag','Axes1Text2');
- set(get(h2,'Parent'),'ZLabel',h2);
- h2 = text('Parent',h1, ...
- 'Color',[0 0 0], ...
- 'HandleVisibility','off', ...
- 'HorizontalAlignment','center', ...
- 'Position',[0.4987341772151899 1.03125 9.160254037844386], ...
- 'Tag','Axes1Text1', ...
- 'VerticalAlignment','bottom');
- set(get(h2,'Parent'),'Title',h2);
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'Callback',mat3, ...
- 'ListboxTop',0, ...
- 'Position',[369.75 318 41.25 20.25], ...
- 'String','Go', ...
- 'Tag','Pushbutton1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'Callback','close all', ...
- 'ListboxTop',0, ...
- 'Position',[370.5 285.75 41.25 20.25], ...
- 'String','Quit', ...
- 'Tag','Pushbutton1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'ListboxTop',0, ...
- 'Position',[37.5 93 113.25 19.5], ...
- 'String','small end radius - m', ...
- 'Tag','Pushbutton2');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[1 1 1], ...
- 'Callback',mat4, ...
- 'ListboxTop',0, ...
- 'Position',[150.75 93.75 54 18], ...
- 'String','.0205', ...
- 'Style','edit', ...
- 'Tag','EditText1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[1 1 1], ...
- 'Callback',mat5, ...
- 'ListboxTop',0, ...
- 'Position',[150.75 57.75 54 18], ...
- 'String','.05753', ...
- 'Style','edit', ...
- 'Tag','EditText1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'ListboxTop',0, ...
- 'Position',[37.5 57 113.25 19.5], ...
- 'String','large end radius - m', ...
- 'Tag','Pushbutton2');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[1 1 1], ...
- 'Callback','h = str2num(get(gco,''string''));', ...
- 'ListboxTop',0, ...
- 'Position',[149.25 19.5 54 18], ...
- 'String','.20994', ...
- 'Style','edit', ...
- 'Tag','EditText1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'ListboxTop',0, ...
- 'Position',[36 19.5 113.25 19.5], ...
- 'String','length - m', ...
- 'Tag','Pushbutton2');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
- 'Callback','indicator = 1;', ...
- 'ListboxTop',0, ...
- 'Position',[280.5 111 132 21], ...
- 'String','viewing from large end', ...
- 'Tag','Pushbutton3');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'Callback','indicator = 0;', ...
- 'ListboxTop',0, ...
- 'Position',[280.5 72.75 132 21], ...
- 'String','viewing from small end', ...
- 'Tag','Pushbutton3');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[1 1 1], ...
- 'Callback',mat6, ...
- 'ListboxTop',0, ...
- 'Position',[149.25 129.75 54 18], ...
- 'Style','edit', ...
- 'Tag','EditText1');
- h1 = uicontrol('Parent',h0, ...
- 'Units','points', ...
- 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
- 'ListboxTop',0, ...
- 'Position',[36 129 113.25 19.5], ...
- 'String','frequency - Hz', ...
- 'Tag','Pushbutton2');
- if nargout > 0, fig = h0; end