Re: mix of fill pattern and fill color for bar charts

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 23 Feb 2006 09:07:47 -0700 (MST)

Hi all,

Another user posted an answer internally to Xuguang, and I thought I'd
share it here.

You can use the following two resources to alternate colors and
patterns for plots generated with gsnXYBarChart set to True:

     color1 = "red"
     color2 = "blue"
     xyres@gsnXYBarChartColors2 = (/color1,color2,color1,color2/)
     xyres@gsnXYBarChartPatterns2 = (/0,3,0,3/)

For more information on these resources, see:

    http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml

For some application examples, please see:

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

--Mary

On Tue, 21 Feb 2006, Xuguang Wang wrote:

> Hi,
>
> Does anyone have experience of plotting a bar chart with one bar filled
> with color and another bar filled with pattern, and also plot the
> corresponding label bars with one filled with color and another filled
> with pattern?
>
> Thanks!
> Xuguang
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 23 2006 - 09:07:47 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 23 2006 - 09:24:07 MST