<div dir="ltr">Hard to know without the file information. <div>It looks like your plotting the data on ax axis of 1-12. The x points of your polygon therefore need to be with respect to this 1-12 axis. Whereas you're defining them based on the time coordinate of your data which I presume is not 1-12 currently. <br></div><div><div><br></div><div>Either scale the x coordinates of the polygon to match the 1-12 axis or change the plot to be with respect to y1&time. </div><div><br></div><div>Throw a print(xp) between line 81 and the end and if the values are not between 1-12 then the polygon is being plotted but somewhere else not within the plot bounds. </div><div><br></div><div>Hopefully that makes sense. <br></div><div><br></div><div><br></div><div>~Alan.</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 1, 2015 at 12:08 PM, Guilherme Martins <span dir="ltr"><<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi NCL users!</div><div><br></div><div>I'm trying to insert shaded area in my dataset observed using the gsn_add_polygon function, but I'm not getting. I don't get errors and the shaded area don't appear.</div><div><br></div><div>My files are in attached.</div><div><br></div><div>I'm using ncl 6.2.1.</div><div><br></div><div>Any help is very appreciated.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b><font>Guilherme Martins</font></b></div><div><font><a href="https://sites.google.com/site/jgmsantos/" target="_blank">https://sites.google.com/site/jgmsantos</a><br></font><div><div><div></div></div></div></div><div><br></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>