function val = get(A, varargin)
%AXISTEXT/GET

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.6 $  $Date: 2000/06/01 02:52:30 $
%   J.H. Roh & B.A. Jones 4-25-97.


HGObj = A.axischild;

if nargin == 2
   switch varargin{1}
   case 'XData'
      val = get(HGObj,'Position');
      val = val(1);
   case 'YData'
      val = get(HGObj,'Position');
      val = val(2);
   otherwise
      val = get(HGObj, varargin{:});
   end
else
   val = get(HGObj, varargin{:});
end

