MathGroup Archive 2005

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

Search the Archive

Bar Chart Options Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54581] Bar Chart Options Question
  • From: Namrata Khemka <namrata.khemka at gmail.com>
  • Date: Wed, 23 Feb 2005 03:12:04 -0500 (EST)
  • Reply-to: Namrata Khemka <namrata.khemka at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Everyone,
I am trying to do the following with bar chart.

t = {1,2,3,4,0,6,7,8,9,10,11,12,13}
BarChart[t]

However, I would like 2 bars to be of a particular color. By this I
mean, for the bars with value 1 and 2, it could be red, for bars with
value 3 and 4 it could be green. and so on.

One of the other things that I would like to do is, label the bars. I
would like to have 1 label for bars with value 1 and 2. Another label
for bars with values 3 and 4 and so on..

Any suggestions as to how this can be done?

Thanks a lot in advance.

Namrata Khemka


  • Prev by Date: Plots for publishing
  • Next by Date: Re: How to solve an implicit system?
  • Previous by thread: Re: Plots for publishing
  • Next by thread: Re: Bar Chart Options Question