getarrowslice.m

来自「matlab源代码,适用于开发研究,带来很好的学习效果.」· M 代码 · 共 21 行

M
21
字号
function [a, s]=getarrowslice% Return the Arrow and Slice based on the GCO% Copyright 2000, 2001, 2002, 2003, 2004, 2005 The MathWorks Inc  if isempty(getappdata(gco,'controlarrow')) && ...        isempty(getappdata(gco,'isosurface'))    a = gco;    s = getappdata(a,'arrowslice');    if isempty(s)      s=getappdata(a,'arrowiso');    end  else    s = gco;    if ~isempty(getappdata(s,'isosurface'))      s=getappdata(s,'isosurface');    end    a = getappdata(s,'controlarrow');  end

⌨️ 快捷键说明

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