<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>Could you help me ?<br>How delete of lines of contour map, call here "isolinhas" in portuguese.<br><br>Thanks<br><br><div><hr id="stopSpelling">Date: Wed, 24 Dec 2014 08:30:49 -0700<br>From: haley@ucar.edu<br>To: liuy0813@gmail.com<br>CC: ncarg-talk@ucar.edu<br>Subject: Re: [ncarg-talk] help for basemap overlay with contour_vector map<br><br><div dir="ltr"><div class="ecxgmail_default" style="font-size:small;">In the future, please post your questions to ncl-talk and not ncarg-talk. This email list is for people using NCAR Graphics.</div><div class="ecxgmail_default" style="font-size:small;"><br></div><div class="ecxgmail_default" style="font-size:small;">You need to subscribe to ncl-talk before you can post:</div><div class="ecxgmail_default" style="font-size:small;"><br></div><div class="ecxgmail_default" style="font-size:small;"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div><div class="ecxgmail_default" style="font-size:small;"><br></div><div class="ecxgmail_default" style="font-size:small;">Regarding your problem: You cannot overlay two maps using NCL. You should have gotten an error when you tried to do this:</div><div class="ecxgmail_default" style="font-size:small;"><br></div><div class="ecxgmail_default" style="font-size:small;"><span style="font-size:13px;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;"> overlay(map,plot1)</span><br style="font-size:13px;word-wrap:break-word;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;"></div><div class="ecxgmail_default" style="font-size:small;"><span style="font-size:13px;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;"><br></span></div><div class="ecxgmail_default" style="font-size:small;"><span style="font-size:13px;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;">because both "map" and "plot1" are maps.</span></div><div class="ecxgmail_default" style="font-size:small;"><span style="font-size:13px;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;"><br></span></div><div class="ecxgmail_default" style="font-size:small;"><span style="font-size:13px;color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;">You can try using gsn_csm_vector_scalar instead of </span><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;">gsn_csm_vector_scalar_map, and then you will also need to remove all the map resources you are setting with vres1.</span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;"><br></span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;">Also, gsn_csm_contour should have worked just fine, and show the lat/lon coordinates, because you have lat2d and lon2d attached as attributes.</span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;"><br></span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;">Please see the two "try1.ncl" and "try2.ncl" scripts. Since you didn't provide the data file, I can't run them to guarantee they work. try1.ncl uses gsn_csm_vector_scalar, and try2.ncl uses both gsn_csm_contour and gsn_csm_vector. </span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;"><br></span></div><div class="ecxgmail_default" style="font-size:small;"><span style="color:rgb(51,51,51);font-family:Tahoma,'Microsoft Yahei',Simsun;font-size:13px;">--Mary</span></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Mon, Dec 22, 2014 at 6:41 PM, 刘勇 <span dir="ltr"><<a href="mailto:liuy0813@gmail.com" target="_blank">liuy0813@gmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div>
<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 a basemap ,then use </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 face="Tahoma, Microsoft Yahei, Simsun" color="#333333">I also try this way: First draw the basemap, then draw contour map through </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 doesn't show the lon&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><a href="http://oneputao.qiniudn.com/zonal.png" target="_blank">http://oneputao.qiniudn.com/zonal.png</a></span></div><div><span></span><a href="http://oneputao.qiniudn.com/current.png" style="font-family:'';font-size:10.5pt;line-height:1.5;background-color:window;" target="_blank">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></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" </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" </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;"> res2 = 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;"> 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;"> res2@gsnMaximize = 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;"> res2@gsnDraw = 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;"> res2@gsnFrame = 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;"> res2@mpOutlineOn = 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;"> res2@mpFillOn = 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;">;---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;"> 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;"> 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;"> 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;"> 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;"> 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;"> res2@mpLimitMode = "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;"> res2@mpLeftCornerLatF = 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;"> res2@mpLeftCornerLonF = 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;"> res2@mpRightCornerLatF = 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;"> res2@mpRightCornerLonF = 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;"> ;res2@tiMainString = 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;">; 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;"> 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;"> 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;"> fhis="<a href="http://roms_his_2010_nouse.nc" target="_blank">roms_his_2010_nouse.nc</a>"</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;"> 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;"> 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;"> rec = 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;"> his = 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;"> lon2d = his->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;"> lat2d = his->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;"> out = 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;"> ur = 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;"> vr = 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;"> angle = his->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;"> 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;"> urr = 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;"> vrr = 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> minValue = 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;"> maxValue = 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;"> step = 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;"> 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;"> ;************************************************</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;"> ; 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;"> ;************************************************</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;"> wks_type = "x11" ; 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;"> 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;"> wks = gsn_open_wks (wks_type, outfile) ; 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;"> 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;"> i = NhlNewColor(wks,0.8,0.8,0.8) ; 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> 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;"> lnres@gsFillColor = "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;"> 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;"> 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;"> 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;"> vres1 = True ; 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;"> vres1@gsnDraw = 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;"> vres1@gsnFrame = 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;"> vres1@gsnMaximize = True ; 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;">; vres1@gsnPaperOrientation = "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;">; vres1@cnFillDrawOrder = "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;"> vres1@cnFillOn = True ; 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;"> vres1@cnLinesOn = False ; 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;"> vres1@cnLineLabelsOn = False ; 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;"> vres1@cnFillMode = "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;"> vres1@gsnScalarContour = True ; 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;"> vres1@gsnSpreadColors = True ; 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;"> vres1@gsnSpreadColorEnd = -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;">; vres1@mpLandFillColor = "gray" ; 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;"> vres1@lbLabelBarOn = 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;"> vres1@lbLabelStride = 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;"> vres1@cnLevelSelectionMode = "ManualLevels" ; 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;"> vres1@cnMinLevelValF = minValue ; 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;"> vres1@cnMaxLevelValF = maxValue ; 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;"> vres1@cnLevelSpacingF = step ; 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;"> vres1@lbOrientation = "Vertical" ; /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;"> vres1@pmLabelBarOrthogonalPosF = -0.01 ; 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;"> vres1@pmLabelBarDisplayMode = "Always" ; 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;"> vres1@lbPerimOn = False ; 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;"> vres1@lbBoxLinesOn = True ; 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;"> vres1@vcRefMagnitudeF = 1.0 ; 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;"> vres1@vcRefLengthF = 0.045 ; 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;"> vres1@vcRefAnnoOrthogonalPosF = -1.0 ; 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;"> vres1@vcRefAnnoParallelPosF = 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;"> vres1@vcRefAnnoArrowLineColor = "black" ; 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;"> vres1@vcRefAnnoArrowUseVecColor = False ; 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;"> 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;"> 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;"> 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;"> 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;"> vres1@vcMonoLineArrowColor = True ; 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;"> 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;"> vres1@vcLineArrowHeadMinSizeF = 0.0055 </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;"> vres1@vcMinDistanceF = 0.0145 ; 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;"> vres1@vcLineArrowThicknessF = 1.5 ; 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;"> vres1@vcGlyphStyle = "CurlyVector" ; 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;"> 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;"> 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;"> 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;"> 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;">; vres1@mpProjection = "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;"> vres1@mpLimitMode = "Corners" ; 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;"> vres1@mpLeftCornerLatF = 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;"> vres1@mpLeftCornerLonF = 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;"> vres1@mpRightCornerLatF = 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;"> vres1@mpRightCornerLonF = 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;"> vres1@mpDataBaseVersion = "HighRes" ; 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;"> vres1@pmTickMarkDisplayMode = "Always" ; 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;"> 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;"> 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;"> 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;"> 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> </div><hr style="width:210px;min-height:1px;" size="1" color="#b5c4df" align="left">
<div><span></span></div>
</div><br>_______________________________________________<br>
ncarg-talk mailing list<br>
<a href="mailto:ncarg-talk@ucar.edu">ncarg-talk@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncarg-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncarg-talk</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk</div>                                            </div></body>
</html>