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 #72803 is a reply to message #72802] Tue, 05 October 2010 07:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean writes:

> I'm using the new plot object/feature of IDL 8.0 and noticed a problem
> when using 2 monitors. The IDL workbench is sitting on the right
> display and the application I wrote starts on the left (because it's
> really xoffset 0). Ok, well my application brings to life at some
> point an object plot. I want this plot to show up just on the right of
> my GUI. I retrieve the offset and xsize of that gui and pass it to the
> location keywords of plot:
>
> my_plot = plot([0,1], nodata=1, location=[xoff, yoff])
>
> but the problem is that for my_plot, the offset 0 is on the left of
> the right screen. How can I force it to be the real 0 offset.

Shouldn't the offset of your plot be the offset of the GUI
*plus* the xsize of the GUI?

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 16:09:54 PDT 2025

Total time taken to generate the page: 0.00208 seconds