EzyFit Function Reference<< Prev | Next >> 
myginput
Graphical input from mouse with custum cursor pointer.

Description
[X,Y] = myginput(N) gets N points from the current axes and returns 
the X- and Y-coordinates in length N vectors X and Y. 
 
[X,Y] = myginput(N, POINTER) also specifies the cursor pointer, e.g. 
'crosshair', 'arrow', 'circle' etc. See "Specifying the Figure Pointer" 
in Matlab's documentation  to see the list of available pointers. 
 
myginput is strictly equivalent to Matlab's original GINPUT, except 
that a second argument specifies the cursor pointer instead of the 
default 'fullcrosshair' pointer. 
 
Example
 
  plot(1:2,1:2,'s'); 
  hold on 
  [x,y] = myginput(1,'crosshair'); 
  plot(x,y,'o'); 
  hold off 
 
myginput is copied from Matlab's GINPUT rev. 5.32.4.4. 
 
See Also
GINPUT. 
Published output in the Help browser 
   showdemo myginput 
 

 Previous: makevarfitNext: pickdata 

2005-2017 EzyFit Toolbox 2.45