forked from gavin971/NCL_meteorology_libs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex_cnmap.ncl
29 lines (22 loc) · 820 Bytes
/
ex_cnmap.ncl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
begin
f=addfile("./data/hgt.sfc.nc","r")
var = short2flt( f->hgt(0,:,:))
wks = gsn_open_wks("eps","contourmap")
gsn_define_colormap(wks,"GMT_gray")
res = True
res@gsnLeftString = "height"
res@gsnRightString = "m"
res@gsnCenterString = "Terrian"
res@gsnCenterStringFontHeightF = 0.05
res@pmTickMarkDisplayMode = "Always"
;; »æÖƵĵØͼÇøÓò
res@mpMinLatF = 10
res@mpMaxLatF = 80
res@mpMinLonF = 30
res@mpMaxLonF = 130
res@mpFillOn = False
res@mpGridSpacingF = 10. ;
res@cnFillOn = True
res@cnLinesOn = False
plot = gsn_csm_contour_map(wks,var,res)
end