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

Home » Public Forums » archive » tracing contours, how?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
tracing contours, how? [message #10730] Thu, 22 January 1998 00:00 Go to previous message
becker is currently offline  becker
Messages: 1
Registered: January 1998
Junior Member
Hi,

I am trying to trace a special contour line in a 2D field, t, to
get the coordinates in data units. I tried

CONTOUR, t, PATH_XY=xy, PATH_INFO=info, levels=contourlevels
k = 0
FOR i=0, (N_ELEMENTS(info) - 1 ) DO BEGIN
FOR j=0, info(i).n-1 DO BEGIN
IF((info(i).value EQ tracecontourvalue)THEN BEGIN
print, info(i).value, xy(0, k+j), xy(1, k+j)
ENDIF
ENDFOR
k = j
ENDFOR

and was hoping that this would trace the polygons and give me all points
in normalized units if the contourvalue is tracecontourlevel. I got the
right contour, but the points it printed didn't really make sense. Why?
Did anybody solve this problem with IDL? Your help is greatly appreciated.
Thanks in advance

Thorsten

Thorsten W. Becker________________________becker@fas.harvard.edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Programming Position in Baltimore
Next Topic: I want to know more about IDL

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

Current Time: Sat Oct 11 21:34:14 PDT 2025

Total time taken to generate the page: 1.60835 seconds