<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><br></div>
<div>hi ,</div><div><br></div><div>I want to draw a contour and vector plot on a self-define coastline,my code shows below,First I try to draw &nbsp;a basemap ,then use &nbsp;</div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">gsn_csm_vector_scalar_map to draw contour and vector map, finally try to overlay this two map,but the coastline of my first map were overlayed by the second map.</span></div><div><font color="#333333" face="Tahoma, Microsoft Yahei, Simsun">I also try this way: &nbsp;First draw the basemap, then draw contour map through&nbsp;</font><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;">gsn_csm_contour(wks,out,res),but this &nbsp;doesn't show the lon&amp;lat infomation of out,and can't overlay to my basemap.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;">hope U can help me.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;">thxs.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">liuy</span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">fig show below:</span></div><div><span style="font-family: &quot;" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">http://oneputao.qiniudn.com/zonal.png</span></div><div><span style="font-family: &quot;Tahoma, " microsoft="" yahei',="" simsun";="" font-size:="" 14px;="" color:="" rgb(51,="" 51,="" 51);="" background-color:="" rgba(0,="" 0,="" 0);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""></span><a href="http://oneputao.qiniudn.com/current.png" tahoma,="" '";="" font-size:="" 14px;="" font-weight:="" normal;="" font-style:="" normal;'="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;" class="">http://oneputao.qiniudn.com/current.png</a></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">code are there:</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;*************************************************</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br></span></div><span style="font-family: &quot;" tahoma,="" '";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""></span><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">; plot_xmbay.ncl</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;*************************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"&nbsp;&nbsp;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"&nbsp;&nbsp;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">load "./ROMS_utils.ncl"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">undef("create_map")</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">function create_map(wks,title,resolution)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">local a, res2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">begin</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;= True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpDataBaseVersion = resolution</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@gsnMaximize&nbsp; &nbsp;= True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@gsnDraw&nbsp; &nbsp;&nbsp; &nbsp; = False</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@gsnFrame&nbsp; &nbsp;&nbsp; &nbsp;= False</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpOutlineOn&nbsp; &nbsp;= False</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpFillOn&nbsp; &nbsp;&nbsp; &nbsp;= False&nbsp;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;---Turn on fancier tickmark labels.</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@pmTickMarkDisplayMode = "Always"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;lon1=117.80</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;lat1=24.20</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;lon2=118.35+15.0/60.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;lat2=24.4+25.0/60.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;---Zoom in on area of interest</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpLimitMode&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= "Corners"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpLeftCornerLatF&nbsp; &nbsp; = lat1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpLeftCornerLonF&nbsp; &nbsp; = lon1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpRightCornerLatF&nbsp; &nbsp;= lat2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;res2@mpRightCornerLonF&nbsp; &nbsp;= lon2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;;res2@tiMainString&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = title</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;&nbsp;&nbsp;res2@mpGridAndLimbDrawOrder = "Predraw"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;---Create map.</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;map = gsn_csm_map(wks,res2)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;return(map)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">end</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">begin</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;************************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">; User settings</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;************************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;fhis="roms_his_2010_nouse.nc"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;outfile = "roms_5"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;depth = -2.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;rec&nbsp; &nbsp;= 1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;***********************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">; Read data and interpolate</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;***********************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;his&nbsp; &nbsp;=&nbsp;&nbsp;addfile (fhis,"r")</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lon2d = his-&gt;lon_rho</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lat2d = his-&gt;lat_rho</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;out&nbsp; &nbsp;= roms_3d_interp(his,"salt",rec,depth)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;ur&nbsp; &nbsp; = roms_3d_interp(his, "u", rec, depth) ; they are automatically put to "rho"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vr&nbsp; &nbsp; = roms_3d_interp(his, "v", rec, depth)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;angle = his-&gt;angle</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;uvrot = uv_rot(ur,vr,angle)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;urr&nbsp; &nbsp;= uvrot(0,:,:)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vrr&nbsp; &nbsp;= uvrot(1,:,:)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;delete(uvrot)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;delete(ur)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;delete(vr)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;urr@lat2d = lat2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;urr@lon2d = lon2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vrr@lat2d = lat2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vrr@lon2d = lon2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;out@lat2d = lat2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;out@lon2d = lon2d</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;minValue&nbsp;&nbsp;= 0.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;maxValue&nbsp;&nbsp;= 35.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;step&nbsp; &nbsp;= 1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;stride = 5</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;;************************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;; create plot</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;;************************************************</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;wks_type = "x11"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; or "eps"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;wks_type@wkOrientation = "Portrait"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;wks&nbsp;&nbsp;= gsn_open_wks (wks_type, outfile)&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; open workstation</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;gsn_define_colormap(wks, "BlAqGrYeOrRevi200")</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;i = NhlNewColor(wks,0.8,0.8,0.8)&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; add gray to colormap</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;reso="HighRes"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;title="Coast draw test"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;map = create_map(wks,title,reso)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;data=asciiread("./ranges/bigzone_zhu.txt",-1,"float")</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;temp=reshape(data,(/dimsizes(data)/2,2/))</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lat0=temp(:,1)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lon0=temp(:,0)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lnres = True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lnres@gsLineThicknessF = 3.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lnres@gsLineColor = "brown"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lnres@gsFillColor&nbsp; &nbsp;&nbsp;&nbsp;= "gray"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lnres@gsLineColor = "black"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;ln0 = gsn_add_polygon(wks,map,lon0,lat0,lnres)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;ln2 = gsn_add_polyline(wks,map,lon0,lat0,lnres)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">; Control appearance of map.</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1 = True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; plot mods desired</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnDraw&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnFrame&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnMaximize&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = True&nbsp; &nbsp; ; Maximize plot in frame</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;&nbsp;&nbsp;vres1@gsnPaperOrientation&nbsp;&nbsp;= "Portrait"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;&nbsp;&nbsp;vres1@cnFillDrawOrder&nbsp; &nbsp;&nbsp; &nbsp;= "PreDraw"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnFillOn&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; turn on color for contours</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnLinesOn&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;= False&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; turn off contour lines</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnLineLabelsOn&nbsp; &nbsp;&nbsp; &nbsp; = False&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; turn off contour line labels</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnFillMode&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= "RasterFill"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnScalarContour&nbsp; &nbsp;&nbsp;&nbsp;= True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; contours desired</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnSpreadColors&nbsp; &nbsp;&nbsp; &nbsp;= True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; use full color map</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@gsnSpreadColorEnd&nbsp; &nbsp; = -2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;&nbsp;&nbsp;vres1@mpLandFillColor&nbsp; &nbsp;&nbsp; &nbsp;= "gray"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; set land to be gray</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@lbLabelBarOn&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@lbLabelStride&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= stride</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnLevelSelectionMode = "ManualLevels"&nbsp; &nbsp;&nbsp;&nbsp;; set manual contour levels</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnMinLevelValF&nbsp; &nbsp;&nbsp; &nbsp; = minValue&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; set min contour level</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp;&nbsp;vres1@cnMaxLevelValF&nbsp; &nbsp;&nbsp; &nbsp; = maxValue&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; set max contour level</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@cnLevelSpacingF&nbsp; &nbsp;&nbsp; &nbsp;= step&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; set contour spacing</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@lbOrientation&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= "Vertical"&nbsp; &nbsp;&nbsp;&nbsp;; /Vertical label bar</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@pmLabelBarOrthogonalPosF = -0.01&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; move label bar closer</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@pmLabelBarDisplayMode = "Always"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; Turn on a label bar.</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@lbPerimOn&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = False&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; no box around it</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@lbBoxLinesOn&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;= True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; Yes/No labelbar box lines.</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefMagnitudeF&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= 1.0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; define vector ref mag</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefLengthF&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= 0.045&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; define length of vec ref</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoOrthogonalPosF&nbsp; &nbsp;= -1.0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; move ref vector</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoParallelPosF&nbsp; &nbsp; = 0.108</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoArrowLineColor&nbsp; &nbsp;= "black"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; change ref vector color</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoArrowUseVecColor = False&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; don't use vec color for ref</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoString1 = "1.0 m/s"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcLabelsOn = False</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcLineArrowColor = "black"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcRefAnnoOn = True</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcMonoLineArrowColor&nbsp;&nbsp;= True&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; vec's colored by their mag</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcLineArrowHeadMaxSizeF = 0.008</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcLineArrowHeadMinSizeF = 0.0055&nbsp;&nbsp;</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcMinDistanceF&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= 0.0145&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; thin vectors , xishu with big data</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcLineArrowThicknessF&nbsp; &nbsp; = 1.5&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;; change vector thickness</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@vcGlyphStyle&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; = "CurlyVector"&nbsp; &nbsp;&nbsp;&nbsp;; turn on curly vectors</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lon_in1=117.80</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lat_in1=24.20</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lon_in2=118.35+15.0/60.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;lat_in2=24.4+25.0/60.0</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">; MAP</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">;&nbsp; &nbsp;vres1@mpProjection&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;= "Mercator"</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpLimitMode&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;= "Corners"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; choose range of map</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpLeftCornerLatF&nbsp; &nbsp;&nbsp; &nbsp; = lat_in1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpLeftCornerLonF&nbsp; &nbsp;&nbsp; &nbsp; = lon_in1</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpRightCornerLatF&nbsp; &nbsp;&nbsp; &nbsp;= lat_in2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpRightCornerLonF&nbsp; &nbsp;&nbsp; &nbsp;= lon_in2</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@mpDataBaseVersion&nbsp; &nbsp;&nbsp; &nbsp;= "HighRes"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ; use high resolution coast</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;vres1@pmTickMarkDisplayMode&nbsp;&nbsp;= "Always"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;; turn on tickmarks</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;plot1= gsn_csm_vector_scalar_map(wks,urr,vrr,out,vres1)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;overlay(map,plot1)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;draw(map)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;">&nbsp; &nbsp;frame(wks)</span><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><br style="word-wrap: break-word; color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun;"><div><span style="color: rgb(51, 51, 51); font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 10.5pt; line-height: 1.5; background-color: window;">end</span>&nbsp;</div><hr style="width: 210px; height: 1px; display: none;" color="#b5c4df" size="1" align="left">
<div><span></span></div>
</body></html>