⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eigtoolgui.m

📁 个人特征结构配置GUI界面实现程序
💻 M
📖 第 1 页 / 共 4 页
字号:
	'Position',[-0.1999999999999999 1.180952380952381 9.160254037844386], ...	'Tag','Axes1Text2', ...	'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[0.49841269841270   1.01587301587302   9.16025403784439], ...	'Tag','Axes1Text1', ...	'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h1 = axes('Parent',h0, ...	'Units','points', ...	'Box','on', ...	'CameraUpVector',[0 1 0], ...	'CameraUpVectorMode','manual', ...	'Color',[1 1 1], ...	'CreateFcn','plotedit(gcbf,''promoteoverlay''); ', ...	'NextPlot','replacechildren', ...	'Position',[338.8235294117647 160.9411764705882 32.18823529411765 267.6705882352941], ...	'Tag','MyColourBar', ...	'Visible','off', ...	'XColor',[0 0 0], ...	'XLimMode','manual', ...	'XTickMode','manual', ...	'YAxisLocation','right', ...	'YColor',[0 0 0], ...	'ZColor',[0 0 0]);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[0.4864864864864877 -0.02222222222222214 9.160254037844386], ...	'Tag','Axes2Text4', ...	'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[1.594594594594595 0.4952380952380953 9.160254037844386], ...	'Rotation',90, ...	'Tag','Axes2Text3', ...	'VerticalAlignment','cap');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','right', ...	'Position',[-10.83783783783784 1.180952380952381 9.160254037844386], ...	'Tag','Axes2Text2', ...	'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[0.4864864864864877 1.015873015873016 9.160254037844386], ...	'Tag','Axes2Text1', ...	'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);%% Mesh sizeh1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'FontWeight','demi', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[414 165 96 12.7], ...	'String','Mesh:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText8');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''MeshSize'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[470.117647058824   148.235294117647   29.647058823529   16.941176470588], ...	'Style','edit', ...	'Tag','meshsize');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[415.058823529412   148.235294117647   50.823529411765   15.247058823529], ...	'String','Grid Size:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText6');%% Scale controlh1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'FontWeight','demi', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[21.176470588235   118.588235294118   101.647058823529   12.705882352941], ...	'String','Figure Axes:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText8');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'Callback','eigtool_switch_fn(''ScaleEqual'');', ...	'Enable','off', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[33.88235294117647 93.17647058823529 114.3529411764706 20.32941176470588], ...	'String','Scale Equal', ...	'Style','checkbox', ...	'Tag','ScaleEqual', ...	'Value',1);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EditXmin'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[63.52941176470588 46.58823529411764 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','xmin');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EditXmax'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[165.1764705882353 46.58823529411764 49.97647058823529 17.78823529411765], ...	'Style','edit', ...	'Tag','xmax');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EditYmin'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[114.3529411764706 25.41176470588235 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','ymin');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EditYmax'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[114.3529411764706 67.76470588235294 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','ymax');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[21.17647058823529 46.58823529411764 39.81176470588235 15.24705882352941], ...	'String','X min:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText1');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[122.8235294117647 46.58823529411764 39.81176470588235 16.94117647058824], ...	'String','X max:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText2');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[72 25.41176470588235 39.81176470588235 15.24705882352941], ...	'String','Y min:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText3');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[72 67.76470588235294 39.81176470588235 15.24705882352941], ...	'String','Y max:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText5');%% ARPACK/eigsh1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'FontWeight','demi', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[232.941176470588   118.588235294118   82   12.705882352941], ...	'String','Direct/Iterative:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText8');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''Direct'');', ...	'Enable','on', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[241.411   95   84   20.32941], ...	'Style','radio', ...        'String','Direct', ...	'Tag','Direct', ...        'Value',1);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''Iterative'');', ...	'Enable','on', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[241.411   70   84   20.32941], ...	'Style','radio', ...        'String','ARPACK/eigs', ...	'Tag','Iterative', ...        'Value',0);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[241.4117   48   53   12.705882352941], ...	'String','No. eigs (k):', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText100');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''ARPACK_k'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[295   46.5882   30   16.94117647058824], ...        'String','', ...	'Style','edit', ...	'Tag','ARPACK_k');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''Which'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[241.411   21.176   84   20.32941], ...	'Style','popupmenu', ...        'String','Large Mod.|Small Mod.|Large Real|Small Real|Large Imag.|Small Imag.|Large Alg.|Small Alg.|Both Ends', ...        'Userdata',{'LM','SM','LR','SR','LI','SI','LA','SA','BE'}, ...	'Tag','Which');%% Contour levelsh1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'Callback','eigtool_switch_fn(''AutoLev'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[354.917647058824   93.176470588235   102.494117647059   21.176470588235], ...	'String','Smart  levels', ...	'Tag','AutoLev', ...        'TooltipString',the_messages{17});h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'FontWeight','demi', ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[343.058823529412   118.588235294118   148.235294117647   12.705882352941], ...	'String','Contour Levels:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText9');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EpsLevMax'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[444.7058823529412 67.76470588235294 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','lastlev');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EpsLevMin'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[444.7058823529412 46.58823529411764 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','firstlev');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'Callback','eigtool_switch_fn(''EpsLevPts'');', ...	'Enable','off', ...	'ListboxTop',0, ...	'Position',[444.7058823529412 25.41176470588235 49.97647058823529 16.94117647058824], ...	'Style','edit', ...	'Tag','nolev', ...        'TooltipString',the_messages{19});h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[347.2941176470588 67.76470588235294 93.17647058823529 16.94117647058824], ...	'String','log10(largest):', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText7');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[347.2941176470588 46.58823529411764 93.17647058823529 16.94117647058824], ...	'String','log10(smallest):', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText7');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ...	'HorizontalAlignment','right', ...	'ListboxTop',0, ...	'Position',[347.2941176470588 25.41176470588235 93.17647058823529 16.94117647058824], ...	'String','Step size:', ...        'Enable','inactive', ...	'Style','text', ...	'Tag','StaticText7');SMALL_GUI = getpref('EigTool','SMALL_GUI');% Make the GUI smaller if necessaryif SMALL_GUI,  shrink_gui(h0,0.86);  h_pos = get(h0,'pos');  h_pos(1:2) = [26  6];  set(h0,'Position',h_pos);else  set(h0,'Position',[210   62  526  478]);end;%movegui(h0,'onscreen');set(h0,'Visible','on');if nargout > 0, fig = h0; end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -