[ncl-talk] PolyDrawOrder XY Bar Chart Question
Mary Haley
haley at ucar.edu
Thu Aug 16 16:37:18 MDT 2018
Hi Daniel,
I found it easier to use gsn_csm_blank_plot to create the gray-filled
background, gsn_csm_xy to create the bar plots, and then overlay to overlay
everything. This makes it easier to control the draw order of stuff.
Please see example bar_22.ncl at:
http://www.ncl.ucar.edu/Applications/bar.shtml#ex22
and let me know if this is not what you were talking about.
--Mary
On Thu, Aug 16, 2018 at 10:48 AM, Daniel Adriaansen - NCAR <
dadriaan at ucar.edu> wrote:
> Hello,
>
> I am using example scatter_13.ncl here: https://www.ncl.ucar.
> edu/Applications/Scripts/scatter_13.ncl.
>
> The concepts shown in that example work as described, except when I set
> the gsnXYBarChart resource to "True", the polygons are drawn on top of the
> bars (or the bar fill color is overridden to the poly fill color resource,
> gsFillColor, I can't tell which). Actually, it looks like I see the
> outlines of the bars, so I think the bars are still technically on top of
> the polygon but the colors for the bars I am specifying using the resource
> gsnXYBarChartBarColors2 are being overridden or ignored. Is there a way to
> get polygons to be drawn behind bars, or the correct bar colors to be shown?
>
> I am using NCL 6.4.0, gsn_panel, gsn_csm_xy, with gsnXYBarChart set to
> True.
>
> Thank you in advance!
>
> -Dan
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20180816/129c9912/attachment.html>
More information about the ncl-talk
mailing list