function dummy = zoomout(Editor)
%ZOOMOUT  Manages Zoom Out action.

%   Author(s): P. Gahinet  
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.4 $  $Date: 2000/06/14 20:21:10 $

% REVISIT
dummy = [];

% Host figure
HG = Editor.HG;
SISOfig = get(HG.PlotAxes(1),'Parent');

% Exit zoom mode
% RE: Allow zoom out in add/delete modes
if strcmp(Editor.EditMode,'zoom')
    % Abort global modes 
    send(Editor.up,'LocalModeChange',...
        handle.EventData(Editor.up,'LocalModeChange'));
    % Revert to idle
    Editor.EditMode = 'idle';
end

% Reset limit modes 
Auto = {'auto'};
Editor.XlimMode = Auto(ones(length(Editor.XlimMode),1),:);
Editor.YlimMode = Auto(ones(length(Editor.YlimMode),1),:);

% Trigger axis limit update (to adjust grid, etc)
updatelims(Editor);
    
% Update status 
Editor.up.send('StatusChanged',...
    sisodata.dataevent(Editor.up,'StatusChanged',{'Zoomed out.' ''}));
    
   
