Skip to content

GetCursorLocation

  GetCursorLocation returns the position of a cursor in x-axis units

  Example:
  x=GetCursorLocation(CursorNumber)
  x=GetCursorLocation(fhandle, CursorNumber)

  fhandle defaults to the current figure if not supplied or empty

  Returns x,  the x-axis position for the cursor in the figure

 --------------------------------------------------------------------------
  Author: Malcolm Lidierth 01/07
  Copyright © The Author & King's College London 2007
 --------------------------------------------------------------------------