<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi All£¬</div><div><span style="color: rgb(51, 51, 51); font-family: arial, "pingfang sc", stheiti, "microsoft yahei", sans-serif; white-space: pre-line; background-color: rgb(252, 252, 252); font-size: 14px;">Thank you for your Adam's timely reply all the time. </span></div><div>The deletion of the workstation does not work yet.</div><div>Then I tried to use gsn_panel£¬adding£º</div><div> xy_plot=new(2,graphic)</div><div>gsn_panel(wks,xy_plot,(/2,1/),False)</div><div>But it can't workout and also create the wind vector offset£¨<span id="gmail-m_-7562538041522895146gmail-m_-2843651948969584223gmail-m_8565802459472163795w_29" 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);"><span style="color: rgb(0, 0, 0); font-family: Helvetica, "Microsoft Yahei", verdana; background-color: rgb(255, 255, 255);">in the attached </span></span><span style="font-family: Helvetica, "Microsoft Yahei", verdana;">"</span>usinggsn_panel.png"£©</div><div><br></div><div>So, let's forget about it.I decided to plot the pictures one by one.</div><div><br></div><div>Best wishes.</div>Bingxue Wu<br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2019-12-14 05:50:33, "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>If removing the maximize_output line did not work, try adding a delete(wks) right before the end do:</div><div> maximize_output(wks,pres)<br>   delete(txx)<br>   delete(txy)<br>   delete(xy_plot)<br>   delete(xy2_plot)</div><div>  delete(wks)<br> end do  <br></div><div><br></div><div>wmvect and other similar procedures are calls to the WMAP plotting system, an older graphics package that has limitations. </div><div>If the deletion of the workstation does not work,  I am not sure a solution is possible with the current structure of your script. </div><div>In that case, you will likely have to alter the script so that only a single panel plot is drawn.</div><div>Adam </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 13, 2019 at 12:38 AM Îâ±ùÑ© <<a href="mailto:bxuewu@163.com">bxuewu@163.com</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>Dear all ,</div><div>    Thans for Adam's  prompt reply.But I it still can't work out £¬I have removed these lines:</div><div>      pres             = True    <br>      pres@gsnMaximize = True  <br>      maximize_output(wks,pres)</div><div>But the pictures are still the same as no removing the lines.So I guess it may be the second picture and the third picture  wmvect  ( drawn the legend one) </div><div>have use the x axis and y axis to determine where they draw insteading of using NDC coordinate.</div><br><div>However,I don't know how to figure it out.</div><div><br></div><div>Thanks.</div><div><br></div><div>Bingxue Wu</div><br><br><div style="zoom:1"></div><div id="gmail-m_-7562538041522895146divNeteaseMailCard"></div><br>At 2019-12-13 07:06:56, "Adam Phillips" <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>> wrote:<br> <blockquote id="gmail-m_-7562538041522895146isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div dir="ltr">Hi Bingxue,<div>I think you are having a draw/frame issue. Try removing these lines:</div><div>      pres             = True    <br>      pres@gsnMaximize = True  <br>      maximize_output(wks,pres)<br></div><div><br></div><div>wmvect will draw the vector on the plot (but not advance the frame). Your other plot item calls are set to not draw the item </div><div>and not advance the frame.The order of plotting calls in your script:</div><div><br></div><div>gsn_text_ndc (gsnDraw/gsnFrame = False)<br></div><div>wmvect  (drawn by default)</div><div>gsn_csm_xy (gsnDraw/gsnFrame = False)</div><div>wmvect (drawn by default)</div><div>wmvect (drawn by default)</div><div>gsn_csm_xy (gsnDraw/gsnFrame = False)</div><div>maximize_output  (all items are drawn and maximized, and the frame is advanced)</div><div><br></div><div>Try removing maximize_output and see if the arrows end up where you expect them to.</div><div>Adam</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 2:17 AM Îâ±ùÑ© <<a href="mailto:bxuewu@163.com" target="_blank">bxuewu@163.com</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>Dear  All£¬</div><div>  Firstly, thanks for <span style="font-family:Helvetica,"Microsoft Yahei",verdana">Adam's answer again.</span><span style="font-family:Helvetica,"Microsoft Yahei",verdana">With regards to searching the <span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752750.5605">ncl</span>-talk archives:</span><span style="font-family:Helvetica,"Microsoft Yahei",verdana"> </span><span style="font-family:Helvetica,"Microsoft Yahei",verdana">The archives seem can't get searched </span>by using the search window in the upper right corner of (most) NCL website pages in China,the answer is that  The requested page could not be found. My friends also can't use the search window .</div><div><br></div><div>  Secondly,I  try to use a new way draw the legend£¨the full code <span style="font-family:Helvetica,"Microsoft Yahei",verdana">in the attached "windlegend_offset.ncl</span> "£©<span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752750.8967">by</span> using "<span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752751.7854">wmsect</span>" £¬<span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752751.0195">but</span> still have a little wrong,the little wrong is that while I use the "do <span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752751.4517">i</span>=1,n-1",only the first picture legend is ok,and the second <span>picture</span> legend,the third <span>picture</span> legend,etc the legend <span id="gmail-m_-7562538041522895146gmail-m_-2843651948969584223gmail-m_8565802459472163795w_26" 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)">e<span id="gmail-m_-7562538041522895146gmail-m_-28436519489695842231576141752751.4353">xists</span> </span><span id="gmail-m_-7562538041522895146gmail-m_-2843651948969584223gmail-m_8565802459472163795w_27" 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="gmail-m_-7562538041522895146gmail-m_-2843651948969584223gmail-m_8565802459472163795w_28" 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="gmail-m_-7562538041522895146gmail-m_-2843651948969584223gmail-m_8565802459472163795w_29" 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.(<span style="color:rgb(0,0,0);font-family:Helvetica,"Microsoft Yahei",verdana;background-color:rgb(255,255,255)">in the attached </span></span><span style="font-family:Helvetica,"Microsoft Yahei",verdana">"wind_legend_offset.png</span> "<span style="background-color:rgb(249,249,249);color:rgb(51,51,51);font-family:Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif">)</span></div><div><span style="background-color:rgb(249,249,249);color:rgb(51,51,51);font-family:Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif">   </span><span id="gmail-m_-7562538041522895146gmail-m_-2843651948969584223w_9" 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="gmail-m_-7562538041522895146gmail-m_-2843651948969584223w_10" 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="gmail-m_-7562538041522895146gmail-m_-2843651948969584223w_11" 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></div><div><span 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)"><pre style="width:1117.19px;color:rgb(0,0,0);line-height:23.8px"><span 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);font-size:10px">Bingxue Wu</span></pre><pre style="width:1117.19px;color:rgb(0,0,0);line-height:23.8px"><br></pre></span></div><div><span style="background-color:rgb(249,249,249)"><font color="#333333" face="Arial, PingFang SC, Hiragino Sans GB, STHeiti, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif"><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>           </div><div>                                          </div><div>                                                                                </div><div>    </div><div>   </div><div><br></div></font></span></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><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></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>