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

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $  $Date: 2000/06/01 02:52:25 $
%   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
