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

Home » Public Forums » archive » Distance between contour lines
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
Distance between contour lines [message #60524] Tue, 27 May 2008 00:37 Go to next message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Hi IDLers,

How can I retrieve the vertical distance between two adjacent contour
lines?

Thanks,

Wout
Re: Distance between contour lines [message #60645 is a reply to message #60524] Thu, 29 May 2008 00:17 Go to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On Wed, 28 May 2008 16:29:51 -0500, "Kenneth P. Bowman"
<k-bowman@null.edu> wrote:

> You can get the coordinates of the contour lines by using the PATH_INFO
> and PATH_XY keywords to CONTOUR. There are many ways I can think of
> to define the "horizontal distance", so from there on out, you are on
> your own.
>
> Ken Bowman

Ok, thanks. I'll play around with that.
Re: Distance between contour lines [message #60650 is a reply to message #60524] Wed, 28 May 2008 14:29 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <a14r349m81qusuq7r1v9pcdckohiem9u8l@4ax.com>,
Wox <nomail@hotmail.com> wrote:

> On Tue, 27 May 2008 05:53:13 -0600, David Fanning <news@dfanning.com>
> wrote:
>
>> Wox writes:
>>
>>> How can I retrieve the vertical distance between two adjacent contour
>>> lines?
>>
>> You do this by setting the vertical distance yourself, in
>> the first place. Don't let IDL do it for you. :-)
>>
>> Cheers,
>>
>> David
>
>
> Sorry, I meant horizontal distance :-)

You can get the coordinates of the contour lines by using the PATH_INFO
and PATH_XY keywords to CONTOUR. There are many ways I can think of
to define the "horizontal distance", so from there on out, you are on
your own.

Ken Bowman
Re: Distance between contour lines [message #60657 is a reply to message #60524] Wed, 28 May 2008 11:19 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Wox writes:

> Sorry, I meant horizontal distance :-)

I think you have the wrong tool for the job.
Don't you need surveying equipment for this sort of work?

Of course, this will depend on where you are standing
and what direction you are looking in, but I can
think of some graphical solutions that could give
you a ballpark estimate under some extremely limited
conditions. But I hesitate to mention them unless
I know more about what is going on.

One thing is for sure. You are NOT going to find
this in the IDL documentation or the CONTOUR command,
either one. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
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: IDLWave <M-p> binding lost
Next Topic: Runtime crashes

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

Current Time: Wed Oct 08 15:27:08 PDT 2025

Total time taken to generate the page: 0.00661 seconds