<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Yue Tian,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The wmXXX suite of routines are rather old and don't have much support in the way of trying to control the individual vectors.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I took a look at weather_sym_8.ncl which sets the VRS parameter, and you're right, it doesn't seem to be setting it to the expected value, although it does get close. To see this example:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/weather_sym.shtml#ex8">http://www.ncl.ucar.edu/Applications/weather_sym.shtml#ex8</a><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">VRS is being set to 40, but in the example, it ends up as 35. If you don't set this, however, you get a value of 88, so it seems to be working, sort of.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You may want to look at drawing your own vectors instead of wmvect, and then you have more control over them. See example polyg_23.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/vector.shtml">http://www.ncl.ucar.edu/Applications/vector.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">which uses an "arrow" function created by <span style="color:rgb(0,0,0);white-space:pre-wrap">Arindam Chakraborty. You could then add your own labels for the length using a call to gsn_text or gsn_text_ndc.</span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap">Good luck,</span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap">--Mary</span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018 at 12:42 AM 田越 <<a href="mailto:tianyue0704@163.com">tianyue0704@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi</div><div><br></div><div>I'm using “wmvect” to draw wind vector at specific station locations. I'm also trying to adjust the reference vector length by changing the "vrs" and "vrn" as well as drawing the label box. However, the value inside the label box always shows like, for example, "0.2E+02", which is not the value I set through the "vrs" parameter. The value inside the label box seems to generate randomly. </div><div><br></div><div>Is there any method to keep the value fixed and appear in the form of integer?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Yue Tian</div></div>_______________________________________________<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><br>
</blockquote></div>