<br><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 10:03 PM, Tengfei Yin <span dir="ltr">&lt;<a href="mailto:yintengfei@gmail.com">yintengfei@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<div><br></div><div>I came across a problem, when I zoom in a view by using view$scale(), it end up with a vertical or horizontal scroll bar, so my question is that, how to move this viewport to a specific spot on the view without using the mouse and keep the same scale. I mean is there a convenient way to control the scroll view directly from command line, I tried centenOn() on the view object, it doesn&#39;t work, looks like the center of the view never moved and only the viewport visible window is changed.  </div>


<div><br></div></blockquote><div><br>Could you please say this another way? centerOn() should scroll the viewport so that the given point is centered, if possible. Note that it takes scene coordinates.<br><br> <br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div></div><div>Thanks</div><div><br></div><div>Tengfei<br clear="all"><br>-- <br>Tengfei Yin<br>
MCDB PhD student <br>1620 Howe Hall, 2274,<br>Iowa State University<br>Ames, IA,50011-2274<br>Homepage: <a href="http://www.tengfei.name" target="_blank">www.tengfei.name</a><br>

<div><br></div><br>
</div>
<br>_______________________________________________<br>
Qtinterfaces-devel mailing list<br>
<a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br>
<br></blockquote></div><br>