function Str = describe(Constr, keyword)
%DESCRIBE  Returns constraint description.

%   Authors: A. Stothert
%   Copyright 1986-2004 The MathWorks, Inc. 
%   $Revision: 1.1.6.2 $ $Date: 2004/12/26 21:51:14 $

Str = sprintf('Gain-Phase Constraint');

if (nargin == 2) && strcmp(keyword, 'detail')
   if strcmp(Constr.Type, 'upper')
      Str = sprintf('Upper Limit Gain-Phase Constraint');
   else
      Str = sprintf('Lower Limit Gain-Phase Constraint');
   end
   XUnits = Constr.getDisplayUnits('XUnits');
   Range = unitconv(Constr.OLPhase(:), ...
      Constr.PhaseUnits, ...
      XUnits);
   Str = sprintf('%s from %0.3g to %0.3g %s', ...
      Str, min(Range), max(Range), XUnits);
end
