<div dir="ltr"><div class="gmail_default" style="font-size:small">Cheung,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/FAQ/#err_msgs_027">http://www.ncl.ucar.edu/FAQ/#err_msgs_027<br></a></div><div class="gmail_default"><br></div><div class="gmail_default">When you get warnings about &quot;tfPolyDrawList&quot;, this should have to do with code where you are attaching polylines, polygons, polymarkers, or text to a plot, and not in the creation of the plot itself.</div><div class="gmail_default"><br></div><div class="gmail_default">Do you have any code where you are calling gsn_add_polyxxxx or gsn_add_text? If so, then please read the above FAQ question about how to make sure your return values for each call are unique.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 7:44 AM, Cheung <span dir="ltr">&lt;<a href="mailto:zuibeidemei@126.com" target="_blank">zuibeidemei@126.com</a>&gt;</span> wrote:<br><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><i><b>Dear NCL:</b></i></div><div><br></div><div><i><b>                   I use a function to generate certain type of plot.</b></i></div><div><i><b>                   Inside this function, several plots are overlaid on a base plot, like this:</b></i></div><div><br></div><div><i><b> function a</b></i></div><div><i><b>           </b></i></div><div><i><b>                   rex@xxx           = xxx</b></i></div><div><i><b>                   plot                   = gsn_csm_xy(wks,x,y,res)</b></i></div><div><i><b>                   res@xxx           = xxx      ; call this as &quot;res for plot1&quot;</b></i></div><div><i><b>                   plot1                 = gsn_csm_xy(wks,x,y,res)</b></i></div><div><i><b>                   res@xxx           = xxx       ; call this as &quot;res for plot2&quot;</b></i></div><div><i><b>                   plot2                 = gsn_csm_xy(wks,x,y,res)</b></i></div><div><i><b>                   overlay(plot,plot1)</b></i></div><div><i><b>                   overlay(plot,plot2)</b></i></div><div><i><b>                   return(plot)</b></i></div><div><br></div><div><i><b>end function a</b></i></div><div><br></div><div><i><b>                    Such codes will generate &quot;warning TransformPreDraw: tfPolyDrawList element 0&quot;.</b></i></div><div><i><b>                    Although plot1 and plot 2 can be overlaid to the base plot when this function a is called, </b></i></div><div><i><b>                    the resultant plot lose all &quot;res for plot1, 2&quot;. </b></i><i><b>I guess this is because the new &quot;res&quot; are not </b></i></div><div><i><b>                   &quot;alive&quot; when this plot is returned. </b></i><i><b>Is there any way to solve this?</b></i></div><div><br></div><div><i><b>                    Thanks for your help.</b></i></div><div><br></div><div><i><b>Best</b></i></div><span class="HOEnZb"><font color="#888888"><div><i><b>Cheung</b></i></div><div><i><b>      </b></i></div><div>                 </div></font></span></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>