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

Home » Public Forums » archive » Re: Getting plot coor by clicking on plot??
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: Getting plot coor by clicking on plot?? [message #4834] Mon, 07 August 1995 00:00 Go to previous message
rep2857 is currently offline  rep2857
Messages: 28
Registered: December 1994
Junior Member
In article <3vtm5g$2b3@lace.colorado.edu>,
Andy Loughe <afl@cdc.noaa.gov> wrote:
> In article <3vtcbk$5ta@deadbird.db.erau.edu>, antarcti@news.db.erau.edu () writes:
> |> I was wondering if it is possible to click on an IDL plot window and
> |> get the plot coordinates for use in the program? Also is it
> |> possible to draw on the plot window and save the line coordinates
> |> in terms of the x and y scale coordinates?
> |>
>
> Look at a routine called cursor.
>

And if you're considering doing this with widgets, look into the
event.x and event.y elements of the event structure.

I'm not sure what's meant in the second part of the original question.
My guess is that you are trying to transform scales. If so, check out
the convert_coord routine and the various switches associated with it.

Mike Schienle Hughes Santa Barbara Research Center
Home: mgs@seldon.terminus.com Work: rep2857@sbsun0010.sbrc.hac.com
Contract Employee - Will visualize data for large amounts of money
[Message index]
 
Read Message
Read Message
Previous Topic: reading data into structs (was (no subject))
Next Topic: IDL's EPS thumbnail image

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

Current Time: Sat Oct 11 23:30:21 PDT 2025

Total time taken to generate the page: 1.35827 seconds