[ncl-talk] draw order
Mary Haley
haley at ucar.edu
Wed Feb 11 11:03:37 MST 2015
Did you try setting tfPolyDrawOrder to "PreDraw" instead of "Draw"?
If this continues to be a problem, then instead of using gsnYRefLine, you
can try using gsn_add_polyline instead, and just make sure you call it
*after* you call gsn_add_polygon.
--Mary
On Wed, Feb 11, 2015 at 7:31 AM, Jian Zheng <jzheng8606 at gmail.com> wrote:
> Hi NCLers,
>
> 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?
>
> Thanks in advance.
> Jian
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150211/00dce3a1/attachment.html
More information about the ncl-talk
mailing list