I use ggplot2 a lot and am wondering why I can't just color with a function? For example, if value < 0 then use red else use green.
How would you guys suggest to color these bar graphs so that positive is green and negative is red? ggplot(melt(df,measure.vars=c("data1", "data2", "data3", "data4")), aes(x=Month,y=value)) + geom_bar(stat = "identity") + facet_wrap(~variable, ncol=1, scales = "free_y") + scale_y_continuous(labels=comma) Thanks, Bradford [[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.