function A = subsasgn(A,S,B)
%AXISOBJ/SUBSASGN

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.6 $  $Date: 1997/12/06 00:39:59 $
%   B.A. Jones & J.H. Roh 4-25-97.

switch S.type
case '.'
   switch S.subs
   case 'FigObj'
      A.FigObj = B;
   case 'Notes'
      A.Notes = B;
   otherwise
      HGObj = A.scribehgobj;
      A.scribehgobj = subsasgn(HGObj,S,B);
   end
end
