<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Dear Adam and All£¬</div><div> Thanks for Adam's reply£¬you're so sweet.I have thought about the three sugesstions from you,but I still have questions.</div><div>Firstly,my code is loop drawing£¬so use other software is inappropriate.Then I spend few time to try to use gsn_csm_vector,but I still can't figure it out by my ability.And then,I thought Use gsn_polyline_ndc may be the good idea£¬but I just wonder how to plot arrow though using gsn_polyline_ndc£¿At last£¬I found a new way£¨as following code£©to draw the legend£¬but still have a little wrong,the little wrong is that while I use the "do i=1,n-1",only the first pictute legend is ok,and the second pictute legend,the third pictute legend,etc the legend <span id="w_26" high-light-id="w_12,w_26" class="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">exists </span><span id="w_27" high-light-id="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">at </span><span id="w_28" high-light-id="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">a </span><span id="w_29" high-light-id="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">new offset.(as the following picture shown)</span></div><div><div>do i=1,n-1 </div><div>len=ceil(avg(HKWIND(1,:)+QSWIND(i,:,1))) </div><div> txx=0.9</div><div> txy=0.91 </div><div> txres=True</div><div> txres@txFontHeightF =0.015 </div><div> gsn_text_ndc(wks,len+"m/s",0.91,0.93,txres)</div><div> wmsetp("vcw",3.0) </div><div> wmsetp("vch",0.012) </div><div> wmsetp("vrs",len) </div><div> wmsetp("vrn",0.03) </div><div> wmvect(wks,txx,txy,len,0) ;;;;;;;This is the new way;;;;;;;;;;;;</div></div><div> xy_plot=gsn_csm_xy(wks,ispan(2,25,1),TT,xyres) </div><div><div> wmvect(wks,x,TT(1,:),HKu,HKv) </div><div>xy2_plot=gsn_csm_xy(wks,ispan(2,25,1),QSTT_HKTT,xy2res) </div><div>end do </div><div><img src="cid:7fd8d17a$3$16eef17a791$Coremail$bxuewu$163.com" orgwidth="752" orgheight="367" data-image="1" style="width: 704px; height: 343px;"></div></div><br>Last but no least,whether <a href="http://www.ncl.ucar.edu/Support/posting_guidelines.shtml" _src="http://www.ncl.ucar.edu/Support/posting_guidelines.shtml">http://www.ncl.ucar.edu/Support/posting_guidelines.shtml</a> is where the search bar in?I did as the following picture but the answer is that The requested page could not be found. <br><img src="cid:713e0d12$4$16eef1c3f62$Coremail$bxuewu$163.com" orgwidth="736" orgheight="130" data-image="1" style="width: 482.4px; height: 86px; border: none;"><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><span id="w_9" high-light-id="w_3,w_9" class="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">Thank </span><span id="w_10" high-light-id="w_4,w_10" class="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">you </span><span id="w_11" high-light-id="" style="color: rgb(51, 51, 51); font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; background-color: rgb(249, 249, 249);">in advance!</span><br>At 2019-12-05 08:04:21, "Adam Phillips" <asphilli@ucar.edu> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hi Bingxue,<div>To search the ncl-talk archives you can simply enter your search term in the search bar on the NCL website. </div><div><br></div><div>There is no way to create a reference vector similar to that created using the gsn*vector plotting routines when you are using the wmvect procedures. If you want the reference vector to look like it does for the gsn*vector routines, I believe you have three choices:</div><div>1 - Use gsn_polyline_ndc/gsn_text_ndc to draw the vector/label yourself.</div><div>2 - Use Illustrator or similar software to add the vector/label outside of NCL.</div><div>3 - Call gsn_csm_vector to draw a blank vector field and blank plot by setting the vector color to the background (white), turn off all the borders of the plot (tmXBBorderOn = False for example), turn off the tickmarks (tmXBOn = False), and draw the plot with the customized reference vector set using the resources you cited. This is the most tedious option, but it is possible. </div><div><br></div><div>Hopefully that at least gets you going in the right direction. If you have any further questions please respond to ncl-talk.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 27, 2019 at 2:54 AM Îâ±ùÑ© via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div><pre style="width:1117.19px;line-height:23.8px">Dear All, </pre></div><div> The example I have found in the NCL website£¨as following shown£© by using the wmvect and wmvlbl function£¬the reference arrow legend is special£¨like 0.35E+2and the length of the reference arrow is constant by using wmvlbl function £©,which isn¡¯t what I want,.</div><div> I just wonder if any way the reference arrow legend it could be the same look like use res@vcRefMagnitudeF and res@vcRefLengthF.</div><div><img src="cid:71017f30$1$16eeeee6c69$Coremail$bxuewu$163.com" style="width: 128px; height: 64px; border: 1px solid rgb(153, 153, 153);">(this is not what I want)<img src="cid:5d40d6d5$2$16eeeee6c69$Coremail$bxuewu$163.com" style="width: 74px; height: 40px; border: none;">(this is what I want)</div><div>NCL website : <a href="http://www.ncl.ucar.edu/Applications/weather_sym.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/weather_sym.shtml</a></div><div><a href="http://www.ncl.ucar.edu/Applications/Scripts/weather_sym_8.ncl" style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">weather_sym_8.ncl</a></div><div><a href="http://www.ncl.ucar.edu/Applications/Scripts/weather_sym_8.ncl" style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">weather_sym_9.ncl</a></div><div><div style="line-height:23.8px"><br></div><div style="line-height:23.8px"><br></div><div style="line-height:23.8px">Thank you !</div><div style="line-height:23.8px"><br></div><div style="line-height:23.8px">At last, if anybody can tell me how to search the mail list before. Because before I ask this question ,I'd like to research the previous email to check if anyone had meet the question and solve,but I failed, I don't how to make a quick reaserch through all the previous emails.</div><pre style="width:783.75px;line-height:23.8px">Bingxue Wu</pre><pre style="width:783.75px;line-height:23.8px"><span>Graduate student</span> </pre><pre style="width:783.75px;line-height:23.8px">Major in meteorology</pre><pre style="width:783.75px;line-height:23.8px">Nanjing University of Information, Science&Technology</pre><pre style="width:783.75px;line-height:23.8px">China -210044</pre></div></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>