comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problem with initialization of location of plot when using 2 monitors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem with initialization of location of plot when using 2 monitors [message #72798] Tue, 05 October 2010 09:58 Go to previous message
Jean[2] is currently offline  Jean[2]
Messages: 41
Registered: October 2010
Member
On Oct 5, 11:07 am, David Fanning <n...@dfanning.com> wrote:
> Jean writes:
>> That's what I'm doing. I retrieve the xoffset and the xsize of the
>> main gui and set the location as being xoffset+xsize.
>> If xoffset is 20, and xsize is 200, the plot is displayed at 220
>> pixels from the left of the right screen when my main gui is on the
>> left screen !
>
> Ah, I misunderstood.
>
> I have a similar set-up. IDL on my right-hand screen and
> graphics windows displayed on the left-hand screen. When
> I do this:
>
>   img = Image(Dist(200))
>
> The image appears over the top of my Workbench on the right-
> hand screen. However, if I do this:
>
>   img = Image(Dist(200), Location=[50,100])
>
> The image appears on my left-hand screen, positioned in the
> correct location from the upper-left corner.
>
> I can put the image on my right hand screen by doing something
> like this:
>
>   img = Image(Dist(200), Location=[1650,100])
>
> Is this not what you see?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Unfortunately no. When I repeat your commands, everything shows up on
the right screen. I tried (for fun) to use a negative number in
location but without success. If I put my workbench on the left
screen, I still have the same problem (showing on the right screen).
I'm on mac and the top IDL menu is showing up on my right screen
(because it's my main screen). Maybe other people experienced the same
problem on their 2 displays (or more) ?

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with initialization of location of plot when using 2 monitors
Next Topic: How to clear an object plot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:42:02 PDT 2025

Total time taken to generate the page: 0.00380 seconds