domenubar.m
来自「一些制作正交曲线网格的matlab源程序」· M 代码 · 共 31 行
M
31 行
function theResult = domenubar(self, varargin)% ps/domenubar -- Toggle the "ps" menubar.% domenubar(self) toggles the menubar on behalf% of self, a "ps" object. % Copyright (C) 1999 Dr. Charles R. Denham, ZYDECO.% All Rights Reserved.% Disclosure without explicit written consent from the% copyright owner does not constitute publication. % Version of 04-Nov-1999 15:32:53.% Updated 04-Nov-1999 15:32:53.if nargout > 0, theResult = []; endif nargin < 1, help(mfilename), return, endtheMenu = gcbo;theFigure = gcbf;switch lower(get(theFigure, 'MenuBar'))case 'figure' set(theFigure, 'MenuBar', 'none') if any(theMenu), set(theMenu, 'Checked', 'off'); endcase 'none' set(theFigure, 'MenuBar', 'figure') if any(theMenu), set(theMenu, 'Checked', 'on'); endendif nargout > 0, theResult = self; end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?