Hello All,
I have a histogram with values above and below 0. I would like to color the
+ve bars green and -ve bars red. I am plotting data using:

hist(a[,2],breaks=100,main="W3",xlab="Movement towards site (A)")

Can someone please comment on how it can be done?
Thanks!

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to