- 积分
- 774
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2020-11-5
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 推开世界的门 于 2021-8-10 09:26 编辑
大佬们,不知道怎么回事我绘制panel图 多出一张图,有哪位大佬了解是怎么回事吗?希望大佬们不吝指教,先谢谢大佬们了。代码如下:
wks=gsn_open_wks("png","panel")
plot = new(3,graphic)
gsn_define_colormap(wks,"BlueRed")
res=True
res@gsnAddCyclic=False
res@mpMinLatF = 0 ; zoom in on map
res@mpMaxLatF = 30
res@mpMinLonF = 100
res@mpMaxLonF = 180
res@cnFillOn=True
res@cnLinesOn=False ;
res@mpGeophysicalLineThicknessF=2.0
plot(0)=gsn_csm_contour_map(wks,cor,res)
tres=True
tres@gsMarkerSizeF=20 ;
tres@gsMarkerIndex="12" ;
tres@gsMarkerColor="black"
tres@gsMarkerThicknessF=3.0 ;
res2 = True
res2@gsnDraw = False ; do not draw
res2@gsnFrame = False ; do not advance frame
res2@gsnMaximize = True
res2@cnMonoFillPattern = False
res2@cnFillOn = True ; turn on color
res2@cnLinesOn = False ; turn off contour lines
res2@cnLineLabelsOn = False
res2@lbLabelBarOn = False
res2@cnInfoLabelOn = False
res2@cnLevelSelectionMode = "ExplicitLevels"
res2@cnFillDotSizeF=0.003
res2@gsnRightString = ""
res2@gsnLeftString = ""
res2@cnLevels = (/0.01/) ;
res2@cnFillPatterns = (/17,-1/) ;
res2@cnFillColors = (/"black","white"/) ;
plot3 = gsn_csm_contour(wks,sign,res2)
overlay(plot(0),plot3)
draw(plot(0))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
plot(1)=gsn_csm_contour_map(wks,cor1,res)
plot6 = gsn_csm_contour(wks,sign1,res2)
overlay(plot(1),plot6)
draw(plot(1))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
plot(2)=gsn_csm_contour_map(wks,cor2,res)
plot9 = gsn_csm_contour(wks,sign2,res2)
overlay(plot(2),plot9)
draw(plot(2))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
pres=True
pres@txFontHeightF=0.02
pres@gsnPanelFigureStringsFontHeightF=0.01
pres@gsnPanelFigureStrings=(/"a","b","c"/)
pres@amJust="topLeft"
gsn_panel(wks,plot,(/3,1/),pres)
end
|
|