showhide.m
来自「任意边界结构正交曲线网格生成程序」· M 代码 · 共 25 行
M
25 行
function showhide(theHandles)% showhide -- Toggle visibility of a graphics object.% showhide(theHandles) toggles the visibility of each% of theHandles. % 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 21-Apr-1999 14:05:01.if nargin < 1, help(mfilename), return, endfor i = 1:length(theHandles) switch get(theHandles(i), 'Visible') case 'on' theVisible = 'off'; otherwise theVisible = 'on'; end set(theHandles(i), 'Visible', theVisible)end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?