Re: [R] barplot colour problem

2016-07-18 Thread Abdoulaye Sarr
Thank you Marc, The typo was causing the problem, solved now. Regards, Fipou On Mon, Jul 18, 2016 at 8:38 PM, Marc Schwartz wrote: > > > On Jul 18, 2016, at 1:06 PM, Abdoulaye Sarr > wrote: > > > > I am doing a basic bar plot which works but the color of bars positive > > (green) and negative

Re: [R] barplot colour problem

2016-07-18 Thread Marc Schwartz
> On Jul 18, 2016, at 1:06 PM, Abdoulaye Sarr wrote: > > 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? >

[R] barplot colour problem

2016-07-18 Thread Abdoulaye Sarr
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]] __