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 #72801 is a reply to message #72798] Tue, 05 October 2010 08:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[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 15:49:46 PDT 2025

Total time taken to generate the page: 0.00382 seconds