doview.m
来自「任意边界结构正交曲线网格生成程序」· M 代码 · 共 33 行
M
33 行
function theResult = doview(self, varargin)% ps/view -- Toggle between view(2) and view(3).% view(self) toggles the view of axes associated% with 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 10-Nov-1999 08:17:04.% Updated 17-Nov-1999 09:05:37.if nargout > 0, theResult = []; endtheMenu = gcbo;v = view;if norm(diag(view)) > 1.9 view(3) if any(theMenu), set(gcbo, 'Checked', 'on'), endelse view(2) if any(theMenu), set(gcbo, 'Checked', 'off'), endendif nargout > 0 theResult = self;else assignin('caller', 'ans', self)end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?