[ncl-talk] PolyDrawOrder XY Bar Chart Question

Daniel Adriaansen - NCAR dadriaan at ucar.edu
Fri Aug 17 08:34:33 MDT 2018


Hi Mary,

That example 22 helped a lot! Exactly what I was trying to do, and overlay
worked great. Thanks for the pointer!

-Dan

On Thu, Aug 16, 2018 at 5:38 PM Mary Haley <haley at ucar.edu> wrote:

> 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/20180817/65a715ec/attachment.html>


More information about the ncl-talk mailing list