Contour (polar stereo?) problems [message #9800] |
Wed, 20 August 1997 00:00 |
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
|
|
|