- 积分
- 4103
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-11-6
- 最后登录
- 1970-1-1
|
发表于 2016-11-29 12:53:05
|
显示全部楼层
res@gsnStringFontHeightF = 0.013
res@gsnRightStringOrthogonalPosF = 0.02
res@gsnLeftStringOrthogonalPosF = 0.02
res@cnFillOn = True ; Color plot desired.
res@cnLinesOn = False ; Turn off contour lines .
res@cnLineLabelsOn = False ; Turn off contour labels.
res@gsnAddCyclic = True ;由于我们的数据不是循环地球一周的,因此必须把这个置否
res@mpLimitMode = "LatLon"
res@mpProjection = "Mercator"
res@mpLimitMode = "LatLon"
res@mpMinLatF = 34
res@mpMaxLatF = 44
res@mpMinLonF = 110
res@mpMaxLonF = 124 ; longitudes
res@cnInfoLabelOn = False ; Turn off info label.
res@tmXBLabelFontHeightF = 0.016 ; change maj lat tm spacing
res@tmYLLabelFontHeightF = 0.016
res@tmXBMajorLengthF = 0.01 ; change the tickmark length
res@tmYLMajorLengthF = 0.01
res@mpGridAndLimbOn = True ; default is every 15 deg
res@mpGridSpacingF = 1 ; change to match labels
res@mpGridLineDashPattern = 2 ; lat/lon lines as dashed
res@mpFillOn = True ; turn on map fill
res@mpLandFillColor = "Gray" ; set to white
res@mpOceanFillColor = "Gray"
res@mpDataSetName = "Earth..4" ; This new database contains
res@mpDataBaseVersion = "MediumRes" ; Medium resolution database
res@mpOutlineOn = False ; Turn on map outlines
;res@mpMaskAreaSpecifiers = (/"China","Taiwan","Disputed area between India and China","India:Arunachal Pradesh"/)
res@mpOutlineSpecifiers = (/"China","Taiwan","Disputed area between India and China","India:Arunachal Pradesh"/)
res@mpGeophysicalLineThicknessF= 4. ; double*double the thickness of geophysical boundaries
res@mpNationalLineThicknessF= 4. ; double*double the thickness of national boundaries
res@mpProvincialLineThicknessF = 2
res@pmTickMarkDisplayMode = "Always" ; Turn on map tickmarks.
res@tmBorderLineColor = 1
res@tmBorderThicknessF = 5.0 ;加粗边框
;res@tmYLMode = "Explicit" ;对Y轴的坐标进行设置,显示自己想要的值
;res@tmYLValues=(/45,44,43,42,41,40,39,38,37,36,35/)
;res@tmYLLabels=(/45,44,43,42,41,40,39,38,37,36,35/)
;res@tmXBMode = "Explicit"
;res@tmXBValues=(/110,111,112,113,114,115/)
;res@tmXBLabels=(/110,111,112,113,114,115/)
res@cnFillMode = "RasterFill"
res@cnLevelSelectionMode = "ExplicitLevels"
res@cnLevels =(/0,0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.5,0.6,0.8,1,1.5,2/)
res@cnFillColors =(/60,65,75,85,95,105,115,127,136,146,155,165,175,185,209/)
res@cnExplicitLabelBarLabelsOn = True
res@lbLabelStrings = (/"0","","0.1","","0.2","","0.3","","0.4","","0.6","","1","","2"/)
res@lbOrientation = "Vertical"
res@pmLabelBarWidthF = 0.08
res@pmLabelBarHeightF = 0.8
res@lbLabelFontHeightF = 0.015
;res@lbLabelStride = 1
res@gsnDraw = False
res@gsnFrame = False
res@vpXF = 0 ;左边距
res@vpYF = 0.5 ;上边距
res@vpWidthF = 1.0 ; height and width of plot
res@vpHeightF = 0.8
res@tiMainFont = "helvetica-bold"
res@tiMainOffsetYF = 0.02 ;set place for main title along Y,offset
res@tiMainFontHeightF = 0.025 ;set main title font size
map = gsn_csm_contour_map(wks, aot, res) |
|