<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266</link>
    <title>MATLAB Central Newsreader - imshow moves figure to other monitor</title>
    <description>Feed for thread: imshow moves figure to other monitor</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>Wed, 14 May 2008 21:11:01 -0400</pubDate>
      <title>imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#432086</link>
      <author>David Doria</author>
      <description>I have a dual monitor setup.  If i do this&lt;br&gt;
&lt;br&gt;
figure&lt;br&gt;
&lt;br&gt;
then move the figure to the other monitor, then do&lt;br&gt;
&lt;br&gt;
imshow(Data)&lt;br&gt;
&lt;br&gt;
it moves the figure back to the original monitor&lt;br&gt;
&lt;br&gt;
is there any way to prevent this? Is there a way to specify&lt;br&gt;
which monitor figures get created on initially?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
&lt;br&gt;
Dave</description>
    </item>
    <item>
      <pubDate>Wed, 14 May 2008 21:23:02 -0400</pubDate>
      <title>Re: imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#432089</link>
      <author>Erik </author>
      <description>Hi David,&lt;br&gt;
&lt;br&gt;
Try to use the Position property of the figure command, so&lt;br&gt;
for example, if i wanted to make a figure that was one&lt;br&gt;
quarter the size of the screen, positioned in the top left&lt;br&gt;
corner, the following would do the trick,&lt;br&gt;
&lt;br&gt;
scrsz = get(0,'ScreenSize');&lt;br&gt;
figure('Position',[1 scrsz(4)/2 scrsz(3)/2 scrsz(4)/2])&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Erik&lt;br&gt;
&lt;br&gt;
&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g0fkh5$8o1$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a dual monitor setup.  If i do this&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; figure&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; then move the figure to the other monitor, then do&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; imshow(Data)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; it moves the figure back to the original monitor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; is there any way to prevent this? Is there a way to specify&lt;br&gt;
&amp;gt; which monitor figures get created on initially?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Dave</description>
    </item>
    <item>
      <pubDate>Wed, 14 May 2008 21:40:04 -0400</pubDate>
      <title>Re: imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#432091</link>
      <author>David Doria</author>
      <description>yea i've used position in the past... but that still doesn't&lt;br&gt;
say WHICH monitor to position it on? or does it treat them&lt;br&gt;
both as 1 long one?</description>
    </item>
    <item>
      <pubDate>Wed, 14 May 2008 22:46:02 -0400</pubDate>
      <title>Re: imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#432095</link>
      <author>Erik </author>
      <description>I'm assuming it would treat it as one long monitor. In fact,&lt;br&gt;
when I change the parameters so the window opens outside of&lt;br&gt;
my viewable area, I can see that it gets sent outside my&lt;br&gt;
screen. I'm pretty sure this should work.&lt;br&gt;
&lt;br&gt;
Erik&lt;br&gt;
&lt;br&gt;
&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g0fm7k$k77$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; yea i've used position in the past... but that still doesn't&lt;br&gt;
&amp;gt; say WHICH monitor to position it on? or does it treat them&lt;br&gt;
&amp;gt; both as 1 long one?</description>
    </item>
    <item>
      <pubDate>Fri, 24 Jul 2009 00:19:02 -0400</pubDate>
      <title>Re: imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#667813</link>
      <author>Raghuveer Parthasarathy</author>
      <description>&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;I have a similar problem to that posted below:  I create a figure and use the 'Position' property to place it on my second monitor.  If I display an image in this figure using 'imshow,' it moves the figure to the first monitor.  I can then move the figure back to the second monitor using the Position property again, but I'd like to avoid this since it involves jerky flickering of the image position that makes it unusable for my application.  &lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;It looks like 'imshow' gets confused by the figure position being outside the bounds of the primary monitor (as reported e.g. by scrsz = get(0,'ScreenSize'); ).  Any thoughts on how to get it to behave more intelligently would be greatly appreciated!&lt;br&gt;
&lt;br&gt;
best wishes,&lt;br&gt;
&lt;br&gt;
Raghu&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Creating a figure and displaying &lt;br&gt;
&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message &amp;lt;g0fkh5$8o1$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a dual monitor setup.  If i do this&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; figure&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; then move the figure to the other monitor, then do&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; imshow(Data)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; it moves the figure back to the original monitor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; is there any way to prevent this? Is there a way to specify&lt;br&gt;
&amp;gt; which monitor figures get created on initially?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Dave</description>
    </item>
    <item>
      <pubDate>Fri, 25 Mar 2011 00:57:05 -0400</pubDate>
      <title>Re: imshow moves figure to other monitor</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169266#827258</link>
      <author>Thomas </author>
      <description>An old thread, but for the benefit of the next person to search for this (like I did):&lt;br&gt;
If you specify the parent, it seems imshow won't move the figure.&lt;br&gt;
E.g.&lt;br&gt;
&amp;nbsp;&amp;nbsp;imshow(im, 'parent', gca);&lt;br&gt;
-tb&lt;br&gt;
&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message &amp;lt;g0fkh5$8o1$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a dual monitor setup.  If i do this&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; figure&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; then move the figure to the other monitor, then do&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; imshow(Data)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; it moves the figure back to the original monitor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; is there any way to prevent this? Is there a way to specify&lt;br&gt;
&amp;gt; which monitor figures get created on initially?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Dave</description>
    </item>
  </channel>
</rss>

