<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&nbsp; 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.&nbsp; 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.&nbsp; 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;">&nbsp; &nbsp;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&nbsp;</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.&nbsp;</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">&lt;<a href="mailto:liuy0813@gmail.com" target="_blank">liuy0813@gmail.com</a>&gt;</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 &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 face="Tahoma, Microsoft Yahei, Simsun" color="#333333">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><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"&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="<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;">&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;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>