- 积分
- 73
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-8-11
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2022-11-8 23:36:02
|
显示全部楼层
本帖最后由 xzz 于 2022-11-8 23:37 编辑
谢谢,但是我为什么不能将两张图叠在一起
begin
f = addfile("F:/data/data100-11m-12m.nc", "r")
h=f->z(1,:,:)
;h1=h(:,:)/9.8
;copy_VarMeta(h, h1)
;h1@units="gpm"
wks = gsn_open_wks("png","100-4")
res = True ; plot mods desired
res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
res@cnMinLevelValF = 17000. ; set min contour level
res@cnMaxLevelValF = 10000. ; set max contour level
res@cnLevelSpacingF = 40 ; set contour spacing
res@tiMainString = " " ; plot title
res@gnsRightString = " "
res@gsnLeftString = " "
res@mpMinLatF = 40
res@gsnPolar = "NH" ; specify the hemisphere
plot = gsn_csm_contour_map(wks,h,res)
drawNDCGrid(wks)
txres = True
txres@txFontHeightF = 0.015
gsn_text_ndc(wks, "0~F34~0", 0.5, 0.99, txres)
gsn_text_ndc(wks, "90~F34~0~F21~E", 0.02,0.5, txres)
gsn_text_ndc(wks, "180~F34~0", 0.5, 0.01, txres)
gsn_text_ndc(wks, "90~F34~0~F21~W", 0.98,0.5, txres)
frame (wks)
end
|
|