- 积分
- 245
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-11-4
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
想对通过检验的区域叠加阴影,但overlay后出不来阴影,也没有错误提示,请问是哪里出问题了?
res = True
res@cnFillOn = True
res@gsnDraw = False
res@gsnFrame = False
res@gsnAddCyclic = False
res@cnFillPalette = "MPL_YlOrRd"
res@lbLabelBarOn = True
res@mpMinLatF = latS
res@mpMaxLatF = latN
res@mpMinLonF = lonL
res@mpMaxLonF = lonR
res@mpCenterLonF = (lonL+lonR)/2
res@cnLinesOn = False
res@cnInfoLabelOn = False
res@cnLineLabelsOn = False
res@cnLevelSelectionMode = "ManualLevels"
res@cnMinLevelValF = 0
res@cnMaxLevelValF = 0.24
res@cnLevelSpacingF = 0.02
res@gsnSpreadColorEnd =115
sres = True
sres@gsnDraw = False
sres@gsnFrame = False
sres@gsnAddCyclic = False
sres@cnFillOn = False
sres@cnLinesOn = False
sres@cnInfoLabelOn = False
sres@cnLineLabelsOn = False
sres@lbLabelBarOn = False
sres@cnLevelSelectionMode = "ExplicitLevels"
sres@cnLevels = (/-0.21, 0.21/)
res@gsnLeftString = "CESM MME ANN-TREND"
plot=gsn_csm_contour_map(wks, b_MME2, res)
shade=gsn_csm_contour(wks, r, sres)
opt = True
opt@gsnShadeFillType = "pattern"
opt@gsnShadeHigh = 17
shade=gsn_contour_shade(shade, -999, 0.21, opt)
overlay(plot, shade)
draw(plot)
frame(wks)
|
|