www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@toGVDataModel/isGraphZoomed.m

    function ret = isGraphZoomed(obj, R, C)
%ISGRAPHZOOMED Check whether a graph has been zoomed
%
%  ISGRAPHZOOMED(OBJ, R, C) returns true if the graph at (R, C) has been
%  zoomed.

%  Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc.


if ~isempty(obj.IsYZoomed)
    ret = obj.IsYZoomed(R, C) || obj.IsXZoomed(C);
else
    ret = false;
end