[R] barplot colour problem

Abdoulaye Sarr abdoulayesar at gmail.com
Mon Jul 18 20:06:40 CEST 2016


I am doing a basic bar plot which works but the color of bars positive
(green) and negative (brown) don’t show up from the below command:

barplot(z, ylim=c(-2,2), col=ifelse(x>0,"brown","green »))

any help? or other methods?

fipou

	[[alternative HTML version deleted]]



More information about the R-help mailing list