Code covered by the BSD License  

Highlights from
EzyFit 2.42

image thumbnail

EzyFit 2.42

by

 

27 Feb 2006 (Updated )

A free curve fitting toolbox for Matlab

myginput (Ezyfit Toolbox)
myginput (Ezyfit Toolbox)
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-2014 EzyFit Toolbox 2.42

Contact us