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

%   Authors: P. Gahinet, Bora Eryilmaz
%   Revised:
%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.3 $ $Date: 2004/12/26 21:51:33 $

if strcmp(Constr.Format,'damping')
  Str = xlate('Damping Ratio');
else
  Str = xlate('Percent Overshoot');
end

if (nargin == 2) && strcmp(keyword, 'detail')
  if strcmp(Constr.Format, 'damping')
    Str = sprintf('%s (%0.3g)', Str, Constr.Damping); 
  else
    Str = sprintf('%s (%0.3g)', Str, Constr.overshoot); 
  end
end
