function aObj = enddrag(aObj)
%AXISOBJ/ENDDRAG

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.1 $  $Date: 1998/06/18 00:40:08 $

savedState = get(aObj, 'SavedState');
set(aObj,'Units',savedState.myOldUnits);


