[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/graphics]
ginput
(/tools/hpmatlab/toolbox/matlab/graphics/ginput.m)
Function Synopsis
[out1,out2,out3] = ginput(arg1, arg2)
Help text
GINPUT Graphical input from a mouse or cursor.
[X,Y] = GINPUT(N) gets N points from the current axes and returns
the X- and Y-coordinates in length N vectors X and Y. The cursor
can be positioned using a mouse (or by using the Arrow Keys on some
systems). Data points are entered by pressing a mouse button
or any key on the keyboard. A carriage return terminates the
input before N points are entered.
[X,Y] = GINPUT gathers an unlimited number of points until the
return key is pressed.
[X,Y,BUTTON] = GINPUT(N) returns a third result, BUTTON, that
contains a vector of integers specifying which mouse button was
used (1,2,3 from left) or ASCII numbers if a key on the keyboard
was used.
Cross-Reference Information
This function calls
- abs /tools/hpmatlab/toolbox/matlab/elfun/abs.m
- axes /tools/hpmatlab/toolbox/matlab/graphics/axes.m
- axis /tools/hpmatlab/toolbox/matlab/graphics/axis.m
- break /tools/hpmatlab/toolbox/matlab/lang/break.m
- computer /tools/hpmatlab/toolbox/matlab/elmat/computer.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- eval /tools/hpmatlab/toolbox/matlab/lang/eval.m
- exp /tools/hpmatlab/toolbox/matlab/elfun/exp.m
- figure /tools/hpmatlab/toolbox/matlab/graphics/figure.m
- fix /tools/hpmatlab/toolbox/matlab/elfun/fix.m
- gca /tools/hpmatlab/toolbox/matlab/graphics/gca.m
- gcf /tools/hpmatlab/toolbox/matlab/graphics/gcf.m
- get /tools/hpmatlab/toolbox/matlab/graphics/get.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- log /tools/hpmatlab/toolbox/matlab/elfun/log.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- set /tools/hpmatlab/toolbox/matlab/graphics/set.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- while /tools/hpmatlab/toolbox/matlab/lang/while.m
This function is called by
- gtext /tools/hpmatlab/toolbox/matlab/plotxy/gtext.m
- pez ee2200/pez.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON