;自定义等值线
cnres@cnLevelSelectionMode = "ExplicitLevels"
;设置色标
colors = (/(/255,255,255/),(/0,0,0/),(/0,255,241/),(/0,255,198/),(/0,255,170/),\
(/0,255,88/),(/0,255,55/),(/0,255,16/),(/20,255,0/),(/55,255,0/),(/93,255,0/),(/131,255,0/),\
(/164,255,0/),(/246,255,0/),(/255,233,0/),(/255,190,0/),(/255,173,0/),(/255,160,0/),(/255,144,0/),\
(/255,119,0/),(/255,62,0/),(/255,51,0/),(/255,29,0/),(/255,0,0/),(/255,0,0/),(/255,0,0/)/)*1.0
cmap = colors/255.
;自定义等值线
cnres@cnLevels = (/0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,31,32,33,34,35,36,37,38,39/)
cnres@cnFillColors = ispan(2,27,1)
gsn_define_colormap(wks,cmap) |