Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: imshow moves figure to other monitor
Date: Fri, 24 Jul 2009 00:19:02 +0000 (UTC)
Organization: University of Oregon
Lines: 28
Message-ID: <h4aulm$7rn$1@fred.mathworks.com>
References: <g0fkh5$8o1$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1248394742 8055 172.30.248.35 (24 Jul 2009 00:19:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 24 Jul 2009 00:19:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 740838
Xref: news.mathworks.com comp.soft-sys.matlab:557998



   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.  

   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!

best wishes,

Raghu


Creating a figure and displaying 
"David Doria" <daviddoria@gmail.com> wrote in message <g0fkh5$8o1$1@fred.mathworks.com>...
> I have a dual monitor setup.  If i do this
> 
> figure
> 
> then move the figure to the other monitor, then do
> 
> imshow(Data)
> 
> it moves the figure back to the original monitor
> 
> is there any way to prevent this? Is there a way to specify
> which monitor figures get created on initially?
> 
> Thanks!
> 
> Dave