Re: [R] Barplots in R

2010-01-15 Thread K. Elo
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 sup

[R] Barplots in R

2010-01-15 Thread vikrant
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