<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241811</link>
    <title>MATLAB Central Newsreader - How to warp the mouse pointer position</title>
    <description>Feed for thread: How to warp the mouse pointer position</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 02 Jan 2009 13:42:02 -0500</pubDate>
      <title>How to warp the mouse pointer position</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241811#619552</link>
      <author>Leandra Vicci</author>
      <description>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.</description>
    </item>
    <item>
      <pubDate>Fri, 02 Jan 2009 16:47:01 -0500</pubDate>
      <title>Re: How to warp the mouse pointer position</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241811#619581</link>
      <author>Jiro Doke</author>
      <description>&quot;Leandra Vicci&quot; &amp;lt;vicci@cs.unc.edu&amp;gt; wrote in message &amp;lt;gjl5j9$acj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
You can use the 'PointerLocation' property of the root (0), in conjunction with figure position and axes position.&lt;br&gt;
&lt;br&gt;
jiro</description>
    </item>
    <item>
      <pubDate>Fri, 02 Jan 2009 17:18:02 -0500</pubDate>
      <title>Re: How to warp the mouse pointer position</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241811#619585</link>
      <author>Leandra Vicci</author>
      <description>&quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gjlge5$r86$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Leandra Vicci&quot; &amp;lt;vicci@cs.unc.edu&amp;gt; wrote in message &amp;lt;gjl5j9$acj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; 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.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You can use the 'PointerLocation' property of the root (0), in conjunction with figure position and axes position.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; jiro&lt;br&gt;
YES!  It works perfectly.  Thanks, Jiro.&lt;br&gt;
Sincerely,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Lea</description>
    </item>
  </channel>
</rss>

