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

    function ret = useCommonYAxis(obj)
%USECOMMONYAXIS Returns whether data requires a common y-axis or not
%
%  USECOMMONYAXIS(OBJ) returns true if the datamodel has been set up for a
%  common y-axis and false if a y-axis per graph should be displayed.

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


ret = (size(obj.YLimits,1)==size(obj.IsBlank,1));