Polar_contour question [message #94618] |
Tue, 25 July 2017 12:39  |
thtran296
Messages: 8 Registered: June 2017
|
Junior Member |
|
|
Hi all,
So I am tasked with using the "polar_contour" procedure in IDL to plot things.
I am given 2 arrays of data, 1 is the radius, and the other is Angle.
radius = [.....] ---> this is an array of 900 elements, randomly from value of 0 to 2000 km.
Angle = [.....] ----> this is an array of 900 elements too, randomly from value of 0 to 6 rad.
Reading from the IDL help page for the polar_contour procedure, it looks something like this:
polar_contour, z, theta, r.
I know that "z" will be a 2-D array (n x n matrix) , and theta and r are 1-D array each. But I'm having problem with what values actually go into each of these arguments? And where in the argument should my 2 arrays (given above) go?
IDL help page only defines "Z" as "the data values to be contoured." What does that even mean?
Theta and r are defined by IDL as vectors of angles and radius, respectively. But what actually goes into these 2 vectors?
Could somebody please help clarify things for me?
Thank you so much.
|
|
|