<div dir="ltr">Thank you Karin for finding my bug!!!<div><br></div><div>Guido, I thicken the border by setting res@tmBorderThicknessF = 4</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 16, 2017 at 3:33 PM, Karin Meier-Fleischer <span dir="ltr">&lt;<a href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</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="auto"><div>Hi Adam,</div><div id="m_-7816258873769334971AppleMailSignature"><br></div><div id="m_-7816258873769334971AppleMailSignature">change the following line in the loop from</div><div id="m_-7816258873769334971AppleMailSignature"><br></div><div id="m_-7816258873769334971AppleMailSignature"><blockquote type="cite"><blockquote type="cite"><font color="#000000"><span style="background-color:rgba(255,255,255,0)">plot@$tstr$ = gsn_add_text(wks,plot(1),<wbr>plabel(n),xx(1),yy,res_text)</span></font></blockquote></blockquote><div id="m_-7816258873769334971AppleMailSignature"><br></div>to</div><div id="m_-7816258873769334971AppleMailSignature"><br></div><div id="m_-7816258873769334971AppleMailSignature"><blockquote type="cite"><blockquote type="cite"><font color="#000000"><span style="background-color:rgba(255,255,255,0)">plot@$tstr$ = gsn_add_text(wks,plot(1),<wbr>plabel(n),xx(1),<b>yy(n),</b>res_<wbr>text)</span></font></blockquote></blockquote><br><div>Bye,</div><div>Karin</div></div><div><div class="h5"><div><br>Am 16.08.2017 um 22:52 schrieb Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt;:<br><br></div><blockquote type="cite"><div><span>Hey Adam, </span><br><span>I’m not sure whether it is right or not but it seems to me that the lines defining the plot area are thicker than they are supposed to. Are you by any change calling the draw(plot) twice, maybe by forgetting to set a false resource, advancing the frame or overlying different plots? </span><br><span></span><br><span>Maybe the entire script would help, or at least the part where you’re setting the resources for the legend or calling the draw(plot).</span><br><blockquote type="cite"><span>Il giorno 16 ago 2017, alle ore 22:42, Adam Herrington &lt;<a href="mailto:adam.herrington@stonybrook.edu" target="_blank">adam.herrington@stonybrook.<wbr>edu</a>&gt; ha scritto:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hi all,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I&#39;m trying to come up with a routine thats produces a plot legend using a loop. However, my attempts to do so corrupts the text labels. See attached plot as an example. The code for this loop is:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>  plabel = (/&quot;  ne30_old&quot;, \</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne30_new&quot;, \</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne60_old&quot;, \</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne60_new&quot;, \</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne120_old&quot;,\</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne120_new&quot;,\</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne240_old&quot;,\</span><br></blockquote><blockquote type="cite"><span>             &quot;  ne240_new&quot;/)</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>  xx = (/1.,2.5/)</span><br></blockquote><blockquote type="cite"><span>  yy = (/985.,978.,971.,964.,957.,<wbr>950.,943.,936./)</span><br></blockquote><blockquote type="cite"><span>  do n = 0,nfiles-1</span><br></blockquote><blockquote type="cite"><span>    res_lines@gsLineColor       = colors(n)</span><br></blockquote><blockquote type="cite"><span>    lstr = unique_string(&quot;rum&quot;)</span><br></blockquote><blockquote type="cite"><span>    tstr = unique_string(&quot;hum&quot;)</span><br></blockquote><blockquote type="cite"><span>    plot@$lstr$ = gsn_add_polyline(wks,plot(1),<wbr>xx,(/yy(n),yy(n)/),res_lines) </span><br></blockquote><blockquote type="cite"><span>    plot@$tstr$ = gsn_add_text(wks,plot(1),<wbr>plabel(n),xx(1),yy,res_text)</span><br></blockquote><blockquote type="cite"><span>  end do</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Can anyone figure out why my legend labels are, what appears to be, &#39;doubly&#39; printed?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Adam</span><br></blockquote><blockquote type="cite"><span>&lt;Screen Shot 2017-08-16 at 2.31.25 PM.png&gt;_______________________<wbr>________________________</span><br></blockquote><blockquote type="cite"><span>ncl-talk mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a></span><br></blockquote><blockquote type="cite"><span>List instructions, subscriber options, unsubscribe:</span><br></blockquote><blockquote type="cite"><span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a></span><br></blockquote><span></span><br><span>______________________________<wbr>_________________</span><br><span>ncl-talk mailing list</span><br><span><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a></span><br><span>List instructions, subscriber options, unsubscribe:</span><br><span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a></span><br></div></blockquote></div></div></div></blockquote></div><br></div>