isocontrols.m
来自「matlab源代码,适用于开发研究,带来很好的学习效果.」· M 代码 · 共 33 行
M
33 行
function isocontrols(fig, onoff)% Set up FIG to have an ISO surface controller on the bottom.% ONOFF indicates if the controller is being turned ON or OFF% Copyright 2000, 2001, 2002, 2003, 2004, 2005 The MathWorks Inc% Check variables error(nargchk(2,2,nargin)) d = getappdata(fig, 'sliceomatic'); if onoff lim=[min(min(min(d.data))) max(max(max(d.data)))]; set(d.axiso,'handlevisibility','on'); set(fig,'currentaxes',d.axiso); set(d.axiso, 'xlim',lim,... 'ylim',[1 5],... 'clim',lim); image('parent',d.axiso,'cdata',1:64,'cdatamapping','direct',... 'xdata',lim,'ydata',[0 5],... 'alphadata',.6, ... 'hittest','off'); activelabel('title','Iso Surface Controller'); set(d.axiso,'handlevisibility','off'); else % Turn off the controller delete(findobj(d.axis,'type','image')); end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?