<div dir="ltr"><div><div><div>Hi Jian,<br></div>Assuming you have tried setting tfPolyDrawOrder = "Draw" and "PreDraw" in the resource list that you pass to gsn_add_polygon, you can also try setting tfPolyDrawOrder = "PostDraw" within the resource list that you pass to gsn_csm_xy.<br><br></div>If neither of those suggestions work one last possibility is to draw the zero line yourself using gsn_add_polyline, and setting tfPolyDrawOrder = "PostDraw" in that resource list..<br></div>Hope that helps.. If not, please respond to ncl-talk and include your script.<br>Adam<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 7:31 AM, Jian Zheng <span dir="ltr"><<a href="mailto:jzheng8606@gmail.com" target="_blank">jzheng8606@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">Hi NCLers,<div><br></div><div>I want to draw some time series with a zero line and some filled boxes for highlight. I use gsnYRefLine to draw the zero line and gsn_add_polygon to draw the boxes. I find the boxes cover the zero line (see attachment). I have set tfPolyDrawOrder as "Draw". Does anyone know how to set the order to make the boxes at the bottom and NOT covering the zero line?</div><div><br></div><div>Thanks in advance.</div><span class="HOEnZb"><font color="#888888"><div>Jian</div></font></span></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><br clear="all"><br>-- <br><div class="gmail_signature"><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 Division, 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>