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

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

Str = sprintf('Bode Gain');

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