BarChart in v. 7
- To: mathgroup at smc.vnet.net
- Subject: [mg98234] BarChart in v. 7
- From: Julian Aguirre <julian.aguirre at ehu.es>
- Date: Fri, 3 Apr 2009 04:36:31 -0500 (EST)
I have found that BarChart has changed quite a lot in v7. In v6, BarChart[{1,2,3},{1,2,3}] produces a chart with six bars, grouped 1,1,2,2,3,3. In v7, the correct syntax is BarChart[{{1,2,3},{1,2,3}}], and gives a chart also with six bars but grouped 1,2,3,1,2,3. I would like to revert to the v6 behaviour. It can be done with BarChart [Transpose[{{1,2,3},{1,2,3}}], but labelling the chart with a label under each group of two data (that is, one label under the columns 1,1,...) becomes a pain, specially for large sets of data. Do you know of a simpler method other than reverting to v6? Thanks in advance Juli=E1n