Home »
Public Forums »
archive »
Re: Getting plot coor by clicking on plot??
Re: Getting plot coor by clicking on plot?? [message #4834] |
Mon, 07 August 1995 00:00  |
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
|
|
|
Current Time: Sat Oct 11 23:30:21 PDT 2025
Total time taken to generate the page: 1.35827 seconds