<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Andrew,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since you are calling the various gsn_add functions inside two nested do loops, you must have a unique &quot;dum&quot; variable for each iteration of &quot;i&quot; and &quot;j&quot;.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You have a counter_1 and counter_2 variable that is being reset to 0 each time through an iteration of &quot;i&quot;, which causes the previous markers, lines, etc to be clobbered.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To truly be unique, these counters should be initialized to 0 outside the &quot;i&quot; loop and not outside the &quot;j&quot; loop.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think that the use of the special gsSegments resource could be used here to improve the speed of your script (if it is slow) and make it so that you don&#39;t need so many separate calls to gsn_add_xxxx.  If you can provide me with the data files, then I can take a stab at this. (You can do this offline, if you want).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 19, 2017 at 11:33 AM, Andrew Kren - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear ncl-talk,<div><br></div><div>I&#39;m trying to plot storm tracks for a variety of storms, one file for each storm. My plan was to overplot each track and then draw the plot at the end after reading all files and tracks. When I do this, I get the err<font face="arial, helvetica, sans-serif">or, &quot;warning:TransformPostDraw: tfPolyDrawList element 868 is invalid&quot;. I get a number of these errors. While my labels plot fine, my lines and markers don&#39;t show up, obviously because of the error.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I looked at unique_string example to avoid this, but couldn&#39;t find out how to correctly implement it, so I decided to create a large &quot;dum&quot; array for each polyline/marker, but I got the same error. I can&#39;t figure out why its still doing the error even when I&#39;m keeping the id&#39;s.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Any help much appreciated. Thanks!<span class="HOEnZb"><font color="#888888"><br></font></span></font><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-5869368040257039782gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<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>