⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 justzoom.m

📁 有关matlab的电子书籍有一定的帮助希望有用
💻 M
字号:
function flag = justzoom(fig)
%JUSTZOOM Determines whether the current buttondownfcn follows a 
%   zoom windowbuttondownfcn for the client (eg, the signal browser,
%   the filter viewer or the spectrum viewer) in figure fig.
%   Meant to be called by any buttondownfcn (eg, pickfcn, ruldown, 
%   pandown) that might be called AFTER the windowbuttondownfcn.
%   Writes userdata and clears flag if so.
 
%   Copyright (c) 1988-98 by The MathWorks, Inc.
% $Revision: 1.5 $

if nargin < 1
    fig = gcf;
end

ud = get(fig,'userdata');

if isequal(ud.justzoom,get(fig,'currentpoint'))
    flag = 1;
    ud.justzoom = [0 0];
    set(fig,'userdata',ud)
else
    flag = 0;
end

⌨️ 快捷键说明

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