I have a problem with CONTOUR when I use the /FILL option.
I am trying to color fill contours of temperature and then contour
the isotherms.
Here is my IDL code:
CONTOUR,Txz,X,ZM,LEVELS=[5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20,21,22],$
c_colors=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18], $
/FOLLOW,NLEVELS=18,/FILL,/OVERPLOT &
CONTOUR,Txz,X,ZM,LEVELS=[5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20,21,22],$
C_LABELS=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],col=19, $
/FOLLOW,NLEVELS=18,/OVERPLOT &
The above code works in some instances to create color filled contours
with black contours. However, in other situations it will fill
the area between contours with the same color (ex. green between 6 and 7 and
also between 7 and 8 when it should had been yellow between 7 and 8).
What am I doing wrong?
Novice IDL user,
John Kelley
jkelley@magnus.acs.ohio-state.edu
|