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

Home » Public Forums » archive » Can i use CONTOUR to retrieve the subscripts within a closed contour?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Can i use CONTOUR to retrieve the subscripts within a closed contour? [message #93138] Sun, 01 May 2016 06:22 Go to previous message
Beate is currently offline  Beate
Messages: 1
Registered: May 2016
Junior Member
Hi,
I use CONTOUR with the arguments path_info, path_xy, /path_data_coords and /closed to retrieve the subscripts of the closed contours.

Example:
contour, scl256img, levels=[80,130], path_info=info, path_xy=xy, /closed, /path_data_coords
npatch = n_elements(info) ; number of patches
for i = 0, (npatch-1) do begin ; loop over contours
s = [indgen(info(i).n), 0]
contourpath2D = xy[*, info(i).offset + s]
endfor

Q:
Can i use CONTOUR in a similar way to also retrieve the subscripts within the closed contours? Or is there another IDL procedure or function that can help me with this?

Thanks!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Problems on the Savitzky-Golay smoothing filter
Next Topic: plot String data

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

Current Time: Wed Oct 08 15:07:01 PDT 2025

Total time taken to generate the page: 0.00549 seconds