Message-ID: <4B504C3B.8070204@nic.fi>
Date: 2010-01-15T11:06:35Z
From: K. Elo
Subject: Barplots in R
In-Reply-To: <1263548174453-1014629.post@n4.nabble.com>
Hi!
Let's suppose the values for the x axis are stored in 'values'.
barplot(values, col=c(rep("Red",3),rep(1,length(values)-8),rep("Blue",5)))
HTH,
Kimmo
vikrant kirjoitti:
> Suppose I need to draw a Grouped bar plot with 100 values on the X axis. Now
> my question is If I need to highlight suppose first three values by some
> color say 'red' and also I need to highlight last 5 datavalues
> by some color say 'blue' and the rest of the data in between I need not
> display. Is it possible? If yes How?
> Could anyone explain