function adjustview(this,Event)
%ADJUSTVIEW  Adjusts view prior to and after picking the axes limits. 
%
%  ADJUSTVIEW(R,'prelim') is invoked before updating the limits.
%  ADJUSTVIEW(R,'postlim') is invoked in response to a LimitChanged event.

%  Author(s): P. Gahinet
%  Copyright 1986-2004 The MathWorks, Inc.
%  $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:52:49 $

% Adjust HSV chart
if ~this.Data.Exception
   % Proceed only if data is valid and view is visible
   adjustview(this.View,this.Data,Event,strcmp(this.RefreshMode,'normal'))
end
