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

Home » Public Forums » archive » Is there anyway to retrieve events from plot in IDL 8.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Is there anyway to retrieve events from plot in IDL 8.0 [message #72410] Wed, 15 September 2010 16:06 Go to next message
Maher is currently offline  Maher
Messages: 12
Registered: September 2005
Junior Member
IDL 8.0 new Graphics:
I need to retrieve cursor location from a plot and the data values at
that (X,Y), is that possible?
Also is it possible to add buttons to the standard ones (Print,
save, ..) and associate it with a procedure.
Thanks
Maher
Re: Is there anyway to retrieve events from plot in IDL 8.0 [message #72526 is a reply to message #72410] Fri, 17 September 2010 07:01 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Sep 15, 7:06 pm, Maher <malka...@gmail.com> wrote:
> IDL 8.0 new Graphics:
> I need to retrieve cursor location from a plot and the data values at
> that (X,Y), is that possible?
> Also is it possible to add buttons to the standard ones (Print,
> save, ..) and associate it with a procedure.
> Thanks
> Maher

I'm still learning (and really liking) the new Graphics stuff myself,
so i'm not 100% sure it does what you want, but you might look at the
help for WIDGET_WINDOW(). It basically looks like a new Graphics-
version of a draw window, so that calls to PLOT() etc. can draw in
it. The example the help file gives shows how to retrieve the cursor
coordinates.

Jeff
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: get save_add folder and open a file by MG_open_url?
Next Topic: Re: color tiffs

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

Current Time: Wed Oct 08 18:56:46 PDT 2025

Total time taken to generate the page: 0.00535 seconds