Path: news.mathworks.com!not-for-mail
From: "Leandra Vicci" <vicci@cs.unc.edu>
Newsgroups: comp.soft-sys.matlab
Subject: How to warp the mouse pointer position
Date: Fri, 2 Jan 2009 13:42:02 +0000 (UTC)
Organization: University of North Carolina
Lines: 3
Message-ID: <gjl5j9$acj$1@fred.mathworks.com>
Reply-To: "Leandra Vicci" <vicci@cs.unc.edu>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1230903722 10643 172.30.248.38 (2 Jan 2009 13:42:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 2 Jan 2009 13:42:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 418771
Xref: news.mathworks.com comp.soft-sys.matlab:509497


I wish to snap the mouse pointer to the exact coordinates of a known point in the active axes.  X Windows has a function for such purposes, but I can't find an equivalent Matlab graphics function.  Does one exist?  If not, are there primitives I could use to write one?  The axes CurrentPoint, CurrentPoint.x, and CurrentPoint.y properties are read-only, so I can't just set them.