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

Home » Public Forums » archive » Jagged edges in POLAR_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
Jagged edges in POLAR_CONTOUR? [message #79285] Wed, 15 February 2012 10:34
John Coxon is currently offline  John Coxon
Messages: 15
Registered: February 2012
Junior Member
Hi all,

I am using POLAR_CONTOUR to plot some data, using three 1-D arrays (the
way my data files are structured makes it easier to do it that way). It
seems to be working fine, but there are jagged edges in places I wasn't
expecting them.

The plot is available here (Dropbox link): http://db.tt/C65qMrGQ

The code I'm using to plot it is:
polar_contour,current,mltrad,colat,xrange = [-30,30],/xstyle,xtitle =
'Colatitude (MLT = 18 (-ve) & 6 (+ve))',yrange = [-30,30],/ystyle,ytitle
= 'Colatitude (MLT = 0 (-ve) & 12 (+ve))',levels = indgen(ncontours) *
0.2 - 1.0,/fill,c_col = indgen(ncontours) + 1,position =
[0.08,0.3,0.48,0.86],title = 'Current density in northern hemisphere'

mltrad is an array containing magnetic local times - 24 values between 0
and 23 that are converted into radians - and as such the plot has 24
'spokes'.

For an example of the jagged edges to which I'm referring, on the far
right (0 on the y-axis) there's a region of 0.2 muA/m^2 that has three
spikes on top (for want of more specific/technical terminology). I don't
understand why they are there, since I don't think the data is a fine
enough resolution to result in that kind of feature.

Can anyone shed any light on this? Any help gratefully appreciated!

--
John Coxon

Join Dropbox and we both get bonus space!
http://db.tt/MWwN5TT
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Our JD Smith Tying Flies?
Next Topic: Re: Making a html image map?

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

Current Time: Wed Oct 08 15:16:02 PDT 2025

Total time taken to generate the page: 0.00510 seconds