Re: bar charts, frame ticks, and error bars
- To: mathgroup at smc.vnet.net
- Subject: [mg88035] Re: bar charts, frame ticks, and error bars
- From: dantimatter <google at dantimatter.com>
- Date: Tue, 22 Apr 2008 06:29:37 -0400 (EDT)
- References: <fu1ttp$ofq$1@smc.vnet.net> <fu4fp1$nkv$1@smc.vnet.net>
thanks! i was hoping to avoid excel, but it looks like that's the
easiest option.
:)
dan
On Apr 16, 4:09 am, sdw <nospam.warw... at jps.net> wrote:
> 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