%RBBOX  Rubberband box.
%   FINAL_RECT = RBBOX(INIT_RECT, FIXED_XY, GRIDSTEP) tracks a
%   rubberband box in the current figure, initialized with box
%   INIT_RECT, anchored at the corner closest to the point
%   FIXED_XY, and resizing height and width in increments of
%   GRIDSTEP.  GRIDSTEP may be omitted, and the box will resize
%   continuously for each pixel the pointer is moved.  FIXED_XY
%   may be omitted, and the point on INIT_RECT closest to the
%   pointer will follow the pointer, while the opposite corner
%   is anchored.  INIT_RECT may be omitted, and the box will
%   begin as a rectangle of zero width and height at the location
%   of the buttondown.
%   The mouse button must be down when RBBOX is called.  RBBOX
%   returns the location and size of the final rectangle when
%   the mouse button is released.
%   RBBOX can be used in a ButtondownFcn, or in an M-file,
%   along with WAITFORBUTTONPRESS, to control dynamic behavior.
%   INIT_RECT, FINAL_RECT, FIXED_XY, and GRIDSTEP are in the units
%   of the current figure.
%
%   See also WAITFORBUTTONPRESS, DRAGRECT.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.4 $  $Date: 1997/11/21 23:49:33 $
%   Built-in function.

