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

Home » Public Forums » archive » POLAR_CONTOUR plot giving strange values for contour lines
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
POLAR_CONTOUR plot giving strange values for contour lines [message #66929] Wed, 17 June 2009 08:51
robintw is currently offline  robintw
Messages: 37
Registered: March 2009
Member
Hi,

I'm trying to use the POLAR_CONTOUR command to plot a contour plot
using polar co-ordinates. I have three vectors: azimuths (which are
plotted as theta), zeniths (which are plotted as the radius) and DNs,
which are plotted as z.

The values in my DNs array are in the low hundreds (in fact, they are
quite close together around 105), but the contour plot which is
produced has contours for 600, 400 and 200! I can't seem to work out
why this is happening.

In case it is useful, the way I'm laying out my arrays are as follows:

Azimuth DN Zenith
0 x 1
0 x 2
0 x 3
0 x 4
30 x 1
30 x 2
30 x 3
30 x 4
... ... ...

(The x's just represent whatever the values are for the DN at that
point, it would have taken a long time to type them into this post).
Is that the correct way to put this data in the array? If not, could
that be what's causing the problem and giving me the strange values?
What should I do to fix it?

Thanks in advance,

Robin Wilson
School of Geography
University of Southampton
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: hor2eq mystery - disagreeing output from same input?
Next Topic: Re: update variable in structure

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

Current Time: Wed Oct 08 15:13:58 PDT 2025

Total time taken to generate the page: 0.00502 seconds