I am having trouble contouring a 2D mapped lat lon variable[ 320,152] in version 8.7. When I apply the ,/FILL option the contours are all given a single color despite defining my levels (LEVS1 = 400-(findgen(41)*20)). I noticed in the Harris updates that there is a contour bug in IDL version 8.7, but details are sparse. Can anyone elaborate on what the bug details are and if they would affect my contouring commands where I specify c_values for a filled contour? Unfortunately, I can't get this answer directly from Harris since I use an academic license... my simple code is: ct = COLORTABLE(70) LEVS1 = 400-(findgen(41)*20) nlon=320 nlat=152 lon=(120-findgen(nlon)*0.25)*(-1) lat=33-findgen(nlat)*0.25 m = Map('Mercator', /BOX_AXES, LABEL_POSITION=0,LIMIT=[-5,-120,33,-40],THICK=0.5) c2 = contour(reverse(raindiff[*,*],2),lon,lat,grid_units=2,overplot=1,min_value=10,color='red') c3 = contour(reverse(raindiff[*,*],2),lon,lat,grid_units=2,overplot=1,color='blue',max_value=0);,C_value=LEVS3) m1 = MapContinents(THICK=0.5,/hires)
|