function promoteoverlay(fig)
%PROMOTEOVERLAY  Plot Editor helper function
%   Put the Scribe overlay axis back on top

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.8 $  $Date: 1998/06/26 14:21:56 $

overlay = findobj(allchild(fig),'flat','Tag','ScribeOverlayAxesActive');

if ~isempty(overlay)
   axes(overlay);
end
