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
closed contour paths: clockwise or anticlockwise - or actually a mixture? [message #87069] Fri, 03 January 2014 12:53 Go to previous message
George.millward is currently offline  George.millward
Messages: 26
Registered: October 2012
Junior Member
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.....

Does anyone have any insight into this? Is there some keyword I am missing?
alternatively is there a simple way to establish whether a path is clockwise or anticlockwise so the arrays can be reversed if necessary?

Cheers

George.
[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: Wed Oct 08 18:59:27 PDT 2025

Total time taken to generate the page: 0.00430 seconds