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

Home » Public Forums » archive » closed contour paths: clockwise or anticlockwise - or actually a mixture?
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: closed contour paths: clockwise or anticlockwise - or actually a mixture? [message #87070 is a reply to message #87069] Fri, 03 January 2014 13:01 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
George.millward@yahoo.com writes:

>
> Hi there,
>
> I'm doing some very straightforward contour plotting - but instead of actually plotting the contours - I'm writing out the path data of closed contours by using the path_info and path_xy keywords.
>
> This is all working fine, but I have a problem: Some of the contour paths (written out as x,y arrays) close in a clockwise order, some close in an anticlockwise order. This is causing trouble when I export the paths to other mapping software because the latter is strictly wanting the paths to always be clockwise.....

This seems unlikely. Are you sure you are not confusing the high and low
contours? In other words, one path describes a mound, the other path
describes a hole. The normal should be pointing toward you in the
counterclockwise (mound) contour, and away from you in the clockwise
(hole) contour.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: variable value
Next Topic: Can't suppress 0 on AXIS call

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

Current Time: Sun Oct 12 08:57:32 PDT 2025

Total time taken to generate the page: 0.64205 seconds