[ncl-talk] draw order
Adam Phillips
asphilli at ucar.edu
Wed Feb 11 11:03:35 MST 2015
Hi Jian,
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.
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..
Hope that helps.. If not, please respond to ncl-talk and include your
script.
Adam
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
>
>
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Division, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150211/43d053b4/attachment.html
More information about the ncl-talk
mailing list