%WAITFORBUTTONPRESS Wait for key/buttonpress over figure.
%   T = WAITFORBUTTONPRESS stops program execution until a key or
%   mouse button is pressed over a figure window.  Returns 0
%   when terminated by a mouse buttonpress, or 1 when terminated
%   by a keypress.  Additional information about the terminating
%   event is available from the current figure.
%
%   See also GINPUT, GCF.

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

