Mercurial > hg > octave-nkf
comparison scripts/plot/ginput.m @ 17483:710309214e0d
doc: Add seealso links between waitfor, waitforbuttonpress, and ginput.
* libinterp/corefcn/graphics.cc(Fwaitfor): Put objective of function in first line
of docstring. Add seealso link to waitforbuttonpress.
* scripts/plot/ginput.m: Add seealso link to waitforbuttonpress.
* scripts/plot/waitforbuttonpress.m: Add seealso link to kbhit.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Sep 2013 10:09:33 -0700 |
parents | eaab03308c0b |
children |
comparison
equal
deleted
inserted
replaced
17482:e5b0cf1fcf6a | 17483:710309214e0d |
---|---|
28 ## | 28 ## |
29 ## The return values @var{x}, @var{y} are the coordinates where the mouse | 29 ## The return values @var{x}, @var{y} are the coordinates where the mouse |
30 ## was clicked in the units of the current axes. The return value @var{button} | 30 ## was clicked in the units of the current axes. The return value @var{button} |
31 ## is 1, 2, or 3 for the left, middle, or right button. If a key is pressed | 31 ## is 1, 2, or 3 for the left, middle, or right button. If a key is pressed |
32 ## the ASCII value is returned in @var{button}. | 32 ## the ASCII value is returned in @var{button}. |
33 ## @seealso{gtext} | 33 ## @seealso{gtext, waitforbuttonpress} |
34 ## @end deftypefn | 34 ## @end deftypefn |
35 | 35 |
36 function varargout = ginput (n) | 36 function varargout = ginput (n) |
37 | 37 |
38 if (nargin > 1) | 38 if (nargin > 1) |