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

Home » Public Forums » archive » Extract Data from Point on Plot
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
Extract Data from Point on Plot [message #64885] Thu, 29 January 2009 11:56 Go to next message
mrjejones is currently offline  mrjejones
Messages: 3
Registered: January 2009
Junior Member
I would like to be able to specify in coordinates (x,y) a point on my
plot and IDL tell me what latitude, longitude, and reflectivity (I am
using the Z device then read into PS for 2-D display) is plotted at
that point. Basically, I want the raw data for that specific plot
point. It must be command-line based.

Any help would be appreciated!
Re: Extract Data from Point on Plot [message #65007 is a reply to message #64885] Thu, 05 February 2009 13:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mrjejones@gmail.com writes:

> I appreciate your help. I've read and use gobs of information from
> your website and turned the Coyote library documentation into a PDF
> (very handy). I'm going to read everything you said to but meanwhile I
> had found this procedure "MAP_PROJ_INVERSE". What you described is
> exactly what I want so I may ditch the map_proj.

Yes, MAP_PROJ_INVERSE and MAP_PROJ_FORWARD are your friends.
Just be *absolutely* sure you call MAP_PROJ_INIT each and
every time before you use them. That is to say, do NOT
rely on calling MAP_PROJ_INIT once and reusing the
map structure from that call in these other two routines.
The documentation will lead you to believe it works that
way, but it doesn't.

http://www.dfanning.com/map_tips/ephemeral.html

I use the MAPCOORD object in the Catalyst Library for these
sorts of projects. When I ask the MAPCOORD object for the
map structure (which I want to use, for example, in
MAP_PROJ_INVERSE) then it will automatically call
MAP_PROJ_INIT to create the map structure de novo.
Very handy.

> Thanks for all the assistance you give the IDL community.

You are very kind. Thank you. :-)

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Extract Data from Point on Plot
Next Topic: Is it possible to get the transformed Image Data from a Model Object

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

Current Time: Fri Oct 10 01:50:24 PDT 2025

Total time taken to generate the page: 1.27999 seconds