Re: Bar chart width question

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 22 Jun 2006 09:20:41 -0600 (MDT)

Hi Jerry,

I'm afraid there's no way to currently get the value of that resource.
The documentation of this resource is wrong, because it states that it
should be a value between 0 and 1, but really, it should be a value
relative the spacing of your X values.

For example, if your X values are 0, 5, 10, 15, ..., then
by default gsnXYBarChartWidth will be equal to 5, because the
spacing of your X values is 5.

So, to get a bar width that is half the default width, use a value
that is half the spacing of your X values: in this case, 2.5.

I'll go fix the documentation for this resource.

--Mary

On Thu, 22 Jun 2006, jerry wrote:

> Hi
>
> The NCL document says ĄGhttp://www.ncl.ucar.edu/Applications/bar.shtml (example 3)
> By default .the thickness of each bar is delta-x .You can make
> the bars smaller than this by setting "gsnXYBarChartBarWidth"
> to a smaller number .
> But how could i get the delta-x value?

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 22 2006 - 09:20:41 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 22 2006 - 09:29:36 MDT