Is there anyway to retrieve events from plot in IDL 8.0 [message #72410] |
Wed, 15 September 2010 16:06  |
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  |
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
|
|
|