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

Home » Public Forums » archive » help with data points of contour.
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
help with data points of contour. [message #16922] Tue, 24 August 1999 00:00
Peter Brooker is currently offline  Peter Brooker
Messages: 28
Registered: July 1999
Junior Member
Consider the following simple program.

nn=101
x=findgen(nn)-(nn-1.)/2.
y=x
z=fltarr(nn,nn)
for i=0,(nn-1) do begin
for j=0,(nn-1) do begin
z(i,j)=sqrt(x(i)^2+y(j)^2)
endfor
endfor
contour,z,x,y,levels=[10,20,30,40]
end

I now want to determine the x,y data points that form the z=20 contour.
How do I do this. The manual is rather cryptic on this.

thanks-Peter Brooker
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Image slicing
Next Topic: Newbie question

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

Current Time: Sat Oct 11 11:02:57 PDT 2025

Total time taken to generate the page: 1.36319 seconds