📄 justzoom.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 + -