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

Home » Public Forums » archive » Contour (polar stereo?) problems
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
Contour (polar stereo?) problems [message #9800] Wed, 20 August 1997 00:00
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
Dear all,

well we're having a heatwave here so maybe my brain is melting. However, I have the
following problem with IDL 5.0.

Consider the commands below:

; Set up PS map of Antarctica
map_set,/ster,-90,/iso,lim=[-90,-180,-45,180],/cont
; Make up some data, not quite symmetrical or IDL 4 gets confused.
b=fltarr(4,10)
for i=0,9 do b(*,i)=i+indgen(4)*.1
; Contour with y-direction of data reversed, and y reversed
contour,reverse(b,2),indgen(4)*45+45,reverse(-86+indgen(10)* 4),lev=indgen(6)+.5, $
c_col=[1,2,150,30,130,50],/fil,/ov
; Contour normally
contour,b,indgen(4)*45+180+45,-86+indgen(10)*4,lev=indgen(5) +.5, $
c_col=[1,2,150,30,130,50],/fil,/ov

These ought to contour up the eastern and western hemispheres, essentially
identically. But they don't!

The form with reverse in it contours incorrectly. This didn't happen under 4.0
Whats going on?

- William
wmc@bas.ac.uk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: setenv,'x.x.x.x:0.1'
Next Topic: Re: q: can I invoke a superclass' INIT method?

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

Current Time: Sat Oct 11 11:21:49 PDT 2025

Total time taken to generate the page: 1.60622 seconds