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

📄 fm_plotfig.m

📁 电力系统的psat
💻 M
📖 第 1 页 / 共 2 页
字号:
               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(14)', ...               'Position',[0.85554      0.5948    0.052632    0.044343], ...               'TooltipString','Move Variable Down', ...               'Tag','Pushbutton14');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_edittex'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(4)', ...               'Position',[0.90817      0.5948    0.052632    0.044343], ...               'TooltipString','Edit Variable Name', ...               'Tag','Pushbutton15');% Frame, graphical buttons and toggle buttons% ----------------------------------------------------------------------h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'ForegroundColor',Theme.color03, ...               'Position',[0.35-0.008     0.06422     0.23/1.3333*1.25+0.008     0.231], ...               'Style','frame', ...               'Tag','Frame2');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_legend'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(16)', ...               'Position',[0.5065      0.21422    0.07/1.3333  0.07], ...               'TooltipString','Legend', ...               'Style','togglebutton', ...               'Tag','Checkbox2');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_grid'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(15)', ...               'Position',[0.5065  0.14422    0.07/1.3333  0.07], ...               'TooltipString','Grid', ...               'Style','togglebutton', ...               'Tag','Checkbox1');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_text'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(21)', ...               'Position',[0.5065  0.07422    0.07/1.3333  0.07], ...               'TooltipString','Axes and Label Font', ...               'Tag','Push1');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'CData',fm_mat('plot_zoomy'), ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(6)', ...               'Position',[0.454     0.21422    0.07/1.3333  0.07], ...               'TooltipString','Y Zoom', ...               'Style','togglebutton', ...               'Tag','Pushbutton4');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_axesy'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(7)', ...               'Position',[0.454     0.14422    0.07/1.3333  0.07], ...               'TooltipString','Y axis', ...               'Style','togglebutton', ...               'Tag','Pushbutton5');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_axesc'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(8)', ...               'Position',[0.454    0.07422    0.07/1.3333  0.07], ...               'TooltipString','Axes Color', ...               'Tag','Pushbutton6');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_linep'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','if Fig.line == 0, fm_linelist; else, figure(Fig.line), end', ...               'Position',[0.4015    0.07422    0.07/1.3333  0.07], ...               'TooltipString','Line Properties', ...               'Tag','Pushbutton7');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_zoomx'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(11)', ...               'Position',[0.4015     0.21422    0.07/1.3333  0.07], ...               'TooltipString','X Zoom', ...               'Style','togglebutton', ...               'Tag','Pushbutton11');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_axesx'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(9)', ...               'Position',[0.4015     0.14422   0.07/1.3333  0.07], ...               'TooltipString','X axis', ...               'Style','togglebutton', ...               'Tag','Pushbutton9');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'CData',fm_mat('plot_axesxy'), ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(10)', ...               'ListboxTop',0, ...               'Position',[0.349     0.14422    0.07/1.3333  0.07], ...               'TooltipString','Axes', ...               'Style','togglebutton', ...               'Tag','Pushbutton10');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'CData',fm_mat('plot_axesp'), ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(20)', ...               'ListboxTop',0, ...               'Position',[0.349    0.07422    0.07/1.3333  0.07], ...               'TooltipString','Axes Properties', ...               'Tag','Pushbutton8');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_zoomxy'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(12)', ...               'ListboxTop',0, ...               'Position',[0.349     0.21422    0.07/1.3333  0.07], ...               'TooltipString','Zoom', ...               'Style','togglebutton', ...               'Tag','Pushbutton12');% Popup Menus and related static texts% ----------------------------------------------------------------------% Line Stylesh1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color01, ...               'HorizontalAlignment','left', ...               'Position',[0.8018   0.5443   0.1579   0.0306], ...               'String','Line Styles:', ...               'Style','text', ...               'Tag','StaticText1');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color04, ...               'Callback','fm_plot(3), fm_plot(1)', ...               'ForegroundColor',Theme.color05, ...               'Position',[0.8018   0.5122   0.1579   0.0321], ...               'String',tipiplot, ...               'Style','popupmenu', ...               'Tag','PopupMenu1', ...               'Value',1);% Reference anglesh1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color01, ...               'HorizontalAlignment','left', ...               'Position',[0.8018   0.4725   0.1568   0.0306], ...               'String','Reference Angle:', ...               'Style','text', ...               'Tag','StaticText2');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color04, ...               'Callback','fm_plot(1)', ...               'ForegroundColor',Theme.color05, ...               'Position',[0.8018   0.4389   0.1579   0.0321], ...               'String',[{'None'};Varname.ux(Syn.delta);Varname.uang], ...               'Style','popupmenu', ...               'Tag','PopupMenu2', ...               'Value',1);h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'Enable', 'inactive', ...               'BackgroundColor',Theme.color03, ...               'Callback','fm_plot(23)', ...               'CreateFcn','fm_plot(22)', ...               'ForegroundColor',Theme.color10, ...               'Position',[0.6047   0.0627   0.1624   0.4000], ...               'Style','listbox', ...               'Max', 100, ...               'String','None', ...               'Tag','PopupMenu3');% Snapshot radio button% -----------------------------------------------------------------------h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Position',[0.8018   0.3750   0.1579   0.0306], ...               'String','Plot Snapshots', ...               'Style','radiobutton', ...               'Tag','Radiobutton1', ...               'Value',0);if length(Snapshot) <= 1, set(h1,'Enable','off'), end% Push buttons% ----------------------------------------------------------------------h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color03, ...               'Callback','fm_plot(1)', ...               'FontWeight','bold', ...               'ForegroundColor',Theme.color09, ...               'Position',[0.8018   0.2027+0.065  0.1579   0.06], ...               'String','Plot', ...               'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_txt'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(99)', ...               'FontWeight','bold', ...               'ForegroundColor',Theme.color09, ...               'Position',[0.8018   0.1975    0.0525   0.07], ...               'TooltipString','Export plot as text file', ...               'String','', ...               'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_mtv'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(98)', ...               'FontWeight','bold', ...               'ForegroundColor',Theme.color09, ...               'Position',[0.8018+0.0526   0.1975    0.0525   0.07], ...               'TooltipString','Export file in MTV format', ...               'String','', ...               'Tag','PushMTV');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_gnuplot'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(97)', ...               'FontWeight','bold', ...               'ForegroundColor',Theme.color09, ...               'Position',[0.8018+0.0526+0.0526   0.1975   0.0525   0.07], ...               'TooltipString','Export plot as Matlab script', ...               'String','', ...               'Tag','PushJPG');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_eps'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(2)', ...               'Position',[0.8018   0.1277   0.0525   0.07], ...               'TooltipString','Export plot as Color EPS', ...               'Tag','PushEPS');h1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_meta'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(2)', ...               'Position',[0.8018+0.0526   0.1277   0.0525   0.07], ...               'TooltipString','Export plot as Windows Metafile', ...               'Tag','PushMeta');if isunix, set(h1,'Enable','off'), endh1 = uicontrol('Parent',h0, ...               'CData',fm_mat('plot_matlab'), ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','fm_plot(2)', ...               'Position',[0.8018+0.0526+0.0526   0.1277   0.0525   0.07], ...               'TooltipString','Export plot as Matlab Figure', ...               'Tag','PushFig');h1 = uicontrol('Parent',h0, ...               'Units', 'normalized', ...               'BackgroundColor',Theme.color02, ...               'Callback','Fig.plot = 0; close(gcf);', ...               'Position',[0.8018   0.0627   0.1579  0.06], ...               'String','Close', ...               'Tag','Pushbutton3');if nargout > 0, fig = h0; end

⌨️ 快捷键说明

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