Displaying 1 result from an estimated 1 matches for "bkrs".
Did you mean:
bars
2010 Mar 04
2
Histogram color
In a histogram , is it possible to have different colors?
Example. I generated
x <- rnorm(1000000)
hist(x)
I want the histogram to have different colors based on the following condition
mean(x)+sd(x) with red color and mean(x) - sd(x) with red color as
well. The middle one with blue color.
Is it possible to do that in R?
Thanks