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

Home » Public Forums » archive » Re: Crosshair data point extraction - Query
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: Crosshair data point extraction - Query [message #1521 is a reply to message #1514] Wed, 01 December 1993 12:53 Go to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
gnaa38@aero.gla.ac.uk (Paul Porcelli) writes:

> Is there any facility in IDL or Wave to produce a plot and then identifty the
> coordinates of a point by clicking the mouse or moving a crosshair over the
> point.
> Thanks in advance.

There is a procedure called CURSOR (It appears in IDL, and should appear in
Wave as well but I'm not sure). You can use it with /DATA, /DEVICE and
/NORMAL coordinates.

Example:
plot,indgen(40),psym=1 ;plots '+' as the symbol.
cursor,x,y,3,/DATA ;Move the cursor onto a '+' and click with
;any mouse button.
print,x,y ;Ta-daah.


Have fun.
Joel
--
Joel D Offenberg | "Aren't you in the position of a life-long
Hughes STX/ UIT Science Team | vegetarian giving us your recipe for steak
offenbrg@fondue.gsfc.nasa.gov | and kidney pie?" - Rumpole of the Bailey
I get paid to stare into space. |
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Wavelet transforms
Next Topic: Ghostscript & Ghostview as IDL Manual Browser

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

Current Time: Sun Oct 12 03:58:53 PDT 2025

Total time taken to generate the page: 0.08261 seconds