function Extent = extent(Constr)
%EXTENT  Returns bounding rectangle [Xmin Xmax Ymin Ymax]

%   Author(s): Bora Eryilmaz
%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.2 $  $Date: 2004/12/10 19:31:26 $

RangePha = unitconv([1 1]*Constr.OriginPha,  'deg', Constr.PhaseUnits);
RangeMag = unitconv([-1 1]*Constr.MarginGain, 'dB', Constr.MagnitudeUnits);
Extent = [RangePha, RangeMag];
