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

Home » Public Forums » archive » Polar_contour question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Polar_contour question [message #94618] Tue, 25 July 2017 12:39 Go to previous message
thtran296 is currently offline  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.
[Message index]
 
Read Message
Read Message
Previous Topic: H5G_open idl command
Next Topic: Counting header lines in a file

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

Current Time: Wed Oct 08 14:10:03 PDT 2025

Total time taken to generate the page: 0.00398 seconds