Re: shading region below res@gsnXYBarChartOutlineOnly

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 26 2014 - 12:24:52 MST

Erika,

We don't have a specific function or set of resources to do what you're asking.

However, you can create your own subroutine that adds the required filled area using gsn_add_polygon.

I created an example that shows how to do this, and also shows how to draw the reference line and outlines yourself, so you can better control the order that everything gets drawn in.
See example "bar_17.ncl" at:

http://www.ncl.ucar.edu/Applications/bar.shtml#ex17

--Mary

On Feb 24, 2014, at 10:07 AM, Erika Folova <e.folova@gmail.com> wrote:

> Dear NCL,
>
> Will helped me on this issue, but I still did not get the result as I expected.
> What I need is to shade the region below the XYBarchart outline that is less than zero (value) indicating by xRefLine.
> However, I have'nt got any trick, The example of the figure is in the attachment.
> I fully understand what Willi suggested by overlaying the histogram, but I prefer to
> have only the outline chart rather that the bar. Any helps would be really appreciated.
>
> Thanks for any tricks.
> Best
>
>
> <Screenshot.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 26 12:25:04 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST