- 积分
- 1476
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-12-11
- 最后登录
- 1970-1-1
|
发表于 2018-7-11 21:59:18
|
显示全部楼层
; Set some map information ; line and text information
mpres = True
mpres@mpFillOn = True
mpres@mpFillColors = (/"background","DeepSkyBlue","ForestGreen","DeepSkyBlue", "transparent"/)
mpres@mpDataBaseVersion="MediumRes"
mpres@mpDataSetName="/nuist/p/work/syq1010/database/Earth..4"
mpres@mpAreaMaskingOn = True
; mpres@mpMaskAreaSpecifiers = (/"China"/)
mpres@mpOutlineSpecifiers = (/"China","China:Provinces"/)
mpres@mpOutlineBoundarySets = "NoBoundaries"
mpres@mpInlandWaterFillColor = "white"
mpres@mpLandFillColor = "ForestGreen"
mpres@mpGeophysicalLineColor = "Black"
mpres@mpNationalLineColor = "Black"
mpres@mpProvincialLineColor = "black"
mpres@mpUSStateLineColor = "Black"
; mpres@mpGridLineColor = "Black"
mpres@mpLimbLineColor = "Black"
mpres@mpPerimLineColor = "Black"
mpres@mpGeophysicalLineThicknessF = 1
mpres@mpGridLineThicknessF = 1
mpres@mpLimbLineThicknessF = 1
mpres@mpNationalLineThicknessF = 1
mpres@mpUSStateLineThicknessF = 1
mpres@mpProvincialLineThicknessF = 1
; mpres@NoHeaderFooter =True
mpres@Footer = False
;--- add South China Sea ---
res=True
nhres = res
nhres@gsnMaximize = False
nhres@gsnFrame = False
nhres@gsnDraw = False
nhres@vpHeightF = 0.17
nhres@vpWidthF = 0.17
nhres@mpMinLatF = 2.0
nhres@mpMaxLatF = 23.0
nhres@mpMinLonF = 105.0
nhres@mpMaxLonF = 123.0
getvalues mp
"mpDataSetName" : nhres@mpDataSetName
"mpDataBaseVersion" : nhres@mpDataBaseVersion
"mpFillOn" : nhres@mpFillOn
"mpAreaMaskingOn" : nhres@mpAreaMaskingOn
"mpOutlineSpecifiers" : nhres@mpOutlineSpecifiers
"mpOutlineBoundarySets" : nhres@mpOutlineBoundarySets
"mpLandFillColor" : nhres@mpLandFillColor
"mpInlandWaterFillColor" : nhres@mpInlandWaterFillColor
"mpNationalLineColor" : nhres@mpNationalLineColor
"mpProvincialLineColor" : nhres@mpProvincialLineColor
end getvalues
; nhres@lbLabelBarOn = False
nhres@tmXBOn = False
nhres@tmXTOn = False
nhres@tmYLOn = False
nhres@tmYROn = False
nhres@gsnLeftString = ""
nhres@gsnRightString = ""
map_nanhai = gsn_csm_map(wks,nhres)
amres = True
amres@amParallelPosF = 0.34 ; -0.5 is the left edge of the plot. from roughly -0.5 to 0.5
amres@amOrthogonalPosF = 0.49 ; -0.5 is the top edge of the plot.
amres@amJust = "BottomRight"
plotnh = gsn_add_annotation(mp,map_nanhai,amres)
|
|