function aObj = editstyle(aObj, style)
%EDITLINE/EDITSTYLE

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.7 $  $Date: 1997/12/06 00:40:28 $


switch style
case 'solid'
   val = '-';
case 'dash'
   val = '--';
case 'dot'
   val = ':';
case 'dashdot'
   val = '-.';
otherwise
   return
end

aObj = set(aObj, 'LineStyle', val);
