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

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $  $Date: 2000/06/01 02:52:39 $

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

