MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: bar charts, frame ticks, and error bars

  • To: mathgroup at
  • Subject: [mg87746] Re: bar charts, frame ticks, and error bars
  • From: sdw <nospam.warwick at>
  • Date: Wed, 16 Apr 2008 05:07:19 -0400 (EDT)
  • References: <fu1ttp$ofq$>

dantimatter wrote:
went through a lot of gyrations on formatting of charts,

hate to say it,  but I simply went back to MS Excel. 

> Hello all,
> I've found a number of posts that deal with either using frames with
> bar charts or error bars with bar charts, but I've been having
> difficulty implementing those previous suggestions when it comes to a
> bar chart showing multiple sets of data.  Take for example the
> following:
> BarChart[{{10, 20, 30, 40}, {5, 15, 25, 35}},
>  Frame -> {True, True, None, None},
>  FrameTicks -> {{{1, "A"}, {2, "B"}, {3, "C"}, {4, "D"}}, Automatic,
>    None, None}]
> The problem with the result is that the ticks show up under the first
> bar of each set, when I would hope that the ticks would be at the
> center of each set.  I haven't even tried to use error bars yet.  Does
> anyone have any suggestions on how to make this work?  And maybe, how
> to implement a plot legend with these multiple set bar charts?
> Many thanks,
> Dan

  • Prev by Date: Re: A Problem with Simplify
  • Next by Date: Re: A kernel, multiple notebooks, and Global?
  • Previous by thread: bar charts, frame ticks, and error bars
  • Next by thread: Re: bar charts, frame ticks, and error bars