function A = set(A, varargin)
%EDITLINE/SET

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

lArgin = varargin;

HG = get(A,'MyHGHandle');

while length(lArgin) >= 2,
   prop = lArgin{1};
   val = lArgin{2};

   lArgin = lArgin(3:end);
   switch prop
   case {'XYData' 'XYDataRefresh'}
      set(HG, 'XData', val{1}, 'YData', val{2});
   otherwise
      axischildObj = A.axischild;
      A.axischild = set(axischildObj, prop, val);
   end
end

