- 积分
- 2302
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-3-27
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
各位,求助啊!!
我给出了右边的两幅图,都是长方形的图,为什么这两张图会重叠在一起啊,真是被这个面板图折磨的不行了。。求助,在线等,很急的,在这里谢谢各位大神!
res11 = True
res11@gsnDraw = False
res11@gsnFrame = False
res11@gsnAddCyclic = False
res11@gsnMaximize = False
res11@cnFillOn = True
res11@cnLinesOn = False
res11@cnLineLabelsOn = False
res11@cnFillDrawOrder ="PreDraw" ; draw contoursfirst
res11@lbBoxLinesOn = False
res11@lbLabelBarOn = False ;1?隆??篓娄?bar
res11@cnSmoothingOn = True
res11@cnSmoothingDistanceF = 0.001
res11@cnSmoothingTensionF = -0.1
res11@cnLevelSelectionMode ="ExplicitLevels"
res11@cnLevels = (/corr1,corr/) ; set levels
res11@cnFillColors = (/64,0,168/); set the colors to be used
res11@gsnSpreadColorStart = 64 ;
res11@mpFillOn = False ;
res11@mpDataBaseVersion = "LowRes" ;
res11@mpDataSetName = "Earth..4" ;
res11@mpOutlineBoundarySets = "NoBoundaries"
res11@mpGeophysicalLineThicknessF=2. ; double the thickness of geophysical boundaries
res11@mpNationalLineThicknessF=2.
res11@mpGeophysicalLineColor="red"
res11@mpNationalLineColor="red" ; double the thickness of national boundaries
res11@mpLimitMode = "LatLon"
res11@mpMinLatF = 20.0 ;
res11@mpMaxLatF = 45.0
res11@mpMinLonF = 60.0
res11@mpMaxLonF = 105.0
; res11@tmXBValues = fspan(20,45,26)
; res11@tmXBLabels = ispan(20,45,26)+"~F35~J~F25~E"
; res11@tmYLValues = ispan(60,105,46)
; res11@tmYLLabels = ispan(60,105,46)+"~F35~J~F25~N"
; res11@tmXBLabelFontHeightF =0.016
; res11@tmYLLabelFontHeightF =0.016
res11@gsnLeftString =""
res11@gsnLeftString =""
; res11@gsnCenterStringFontHeightF=0.018
; res11@gsnLeftStringFontHeightF=0.018
res11@lbLabelBarOn =False
res11@vpXF =0.6
res11@vpYF =0.5
res11@vpWidthF =0.35
res11@vpHeightF =0.3
plot(0)= gsn_csm_contour_map(wks,heter(0,:,:),res11)
res1111 = True
res1111@gsnDraw = False
res1111@gsnFrame = False
res1111@gsnAddCyclic = False
res1111@gsnMaximize = False
res1111@cnFillOn = False
res1111@cnLinesOn = True
res1111@lbBoxLinesOn = False
res1111@cnSmoothingOn = True
res1111@cnSmoothingDistanceF = 0.001
res1111@cnSmoothingTensionF = -0.1
res1111@cnMonoLineThickness= False
res1111@cnMonoLineDashPattern =False
res1111@cnLevelSelectionMode ="ExplicitLevels"
res1111@cnLevels = (/-0.6,-0.3,0.0,0.3,0.6/)
res1111@cnLineDashPatterns =(/2,2,0,0,0/); set levels
res1111@cnLineThicknesses = (/2.5,2.5,5.0,2.5,2.5/)
res1111@cnLineLabelInterval =1
res1111@cnLineLabelsOn = True
res1111@cnInfoLabelOn = False
res1111@cnLineLabelPlacementMode ="Constant"
res1111@cnLineLabelFormat ="@*+^sg"
res1111@lbLabelBarOn =True
plot1111= gsn_csm_contour(wks,heter(0,:,:),res1111)
res21 = True
res21@gsnDraw = False
res21@gsnFrame = False
res21@gsnAddCyclic = False
res21@gsnMaximize = False
res21@cnFillOn = True
res21@cnLinesOn = False
res21@cnLineLabelsOn = False
res21@cnFillDrawOrder ="PreDraw" ; draw contoursfirst
res21@lbBoxLinesOn = False
res21@lbLabelBarOn = False ;1?隆??篓娄?bar
res21@cnSmoothingOn = True
res21@mpOutlineOn=False
res21@cnSmoothingDistanceF = 0.001
res21@cnSmoothingTensionF = -0.1
res21@cnLevelSelectionMode ="ExplicitLevels"
res21@cnLevels = (/corr1,corr/) ; set levels
res21@cnFillColors = (/64,0,168/); set the colors to be used
res21@cnLineLabelPlacementMode = "computed"
res21@cnLabelMasking = True
res21@cnLineLabelBackgroundColor= "white"
res21@gsnSpreadColorStart = 64 ;
res21@mpFillOn = False ;
res21@mpDataBaseVersion = "LowRes" ;
res21@mpDataSetName = "Earth..4" ;
res21@mpOutlineBoundarySets = "NoBoundaries"
res21@mpGeophysicalLineThicknessF=2.
res21@mpPerimLineThicknessF = 8.0 ; double the thickness of geophysical boundaries
res21@mpNationalLineThicknessF=2.
res21@mpGeophysicalLineColor="red"
res21@mpNationalLineColor="red" ; double the thickness of national boundaries
res21@mpLimitMode = "LatLon"
res21@mpMinLatF = 20.0 ;
res21@mpMaxLatF = 45.0
res21@mpMinLonF = 60.0
res21@mpMaxLonF = 105.0
; res21@tmXBValues = ispan(20,45,26)
; res21@tmXBLabels = ispan(20,45,26)+"~F35~J~F25~E"
; res21@tmYLValues = ispan(60,105,46)
; res21@tmYLLabels = ispan(60,105,46)+"~F35~J~F25~N"
res21@tmXTOn =False
res21@tmYROn =False
; res21@cnLineLabelFontHeightF = 0.018
; res21@tmXBLabelFontHeightF =0.016
; res21@tmYLLabelFontHeightF =0.016
; res21@gsnLeftString ="(c)"
; res21@gsnCenterString ="SNOW Homogeneous Correlation Pattern"
; res21@gsnCenterStringFontHeightF=0.018
; res21@gsnLeftStringFontHeightF=0.018
; res21@pmTickMarkDisplayMode = "Always"
; res21@gsnFrame=True
res21@vpXF =0.65
res21@vpYF =0.9
res21@vpWidthF =0.35
res21@vpHeightF =0.25
plot(2)= gsn_csm_contour_map(wks,homor(0,:,:),res21)
;res211????鲁隆 ?漏赂?
res211 = True
res211@gsnDraw = False
res211@gsnFrame = False
res211@gsnAddCyclic = False
res211@gsnMaximize = False
res211@cnFillOn = False
res211@cnLinesOn = True
res211@lbBoxLinesOn = False
res211@cnSmoothingOn = True
res211@cnSmoothingDistanceF = 0.001
res211@cnSmoothingTensionF = -0.1
res211@cnMonoLineThickness= False
res211@cnLevelSelectionMode ="ExplicitLevels"
res211@cnLevels = (/-0.6,-0.3,0.0,0.3,0.6/)
res211@cnLineDashPatterns =(/2,2,0,0,0/); set levels
res211@cnLineThicknesses = (/2.5,2.5,5.0,2.5,2.5/)
res211@cnLineLabelInterval =1
res211@cnLineLabelsOn = True
res211@cnInfoLabelOn = False
res211@cnLineLabelPlacementMode ="Constant"
res211@cnLineLabelFormat ="@*+^sg"
plot211= gsn_csm_contour(wks,homor(0,:,:),res211)
resP = True
resP@gsnMaximize = False
resP@txString = y(0)
resP@gsnMaximize = True
resP@gsnPanelLabelBar = True
resP@lbPerimOn = False
resP@lbLabelFontHeightF = 0.005
resP@lbBoxLinesOn = True
resP@lbLabelStrings = (/"-90%","90%"/)
resP@lbOrientation = "Vertical"
resP@pmLabelBarOrthogonalPosF = 0.01
resP@gsnPanelRowSpec = True
; resP@gsnPanelXWhiteSpacePercent = 0.05
resP@gsnPanelYWhiteSpacePercent = 0.2
; resp@lbTitlePosition="bottom"
gsn_panel(wks,(/plot(3),plot(2),plot(1),plot(0)/),(/2,2/),resP)
; draw(plot(4))
; frame(wks)
; draw(plot(4))
frame (wks)
; gsn_panel(wks,plot,(/plot(3),plot(2),plot(1),plot(0),plot(4)/),resP)
end
|
-
|