I have the color of my bar plot displayed correctly but don’t have xlab,  ylab  
and xaxp don’t show up.

here is example of yearly data (25 years 1981-2005)
> head(z1)
[1] -0.1001726  0.2014272 -0.8556950  0.1920669 -0.8013520  1.3324949

code to display values

par(mar=rep(2,4))
op <- par(oma=c(5,7,1,1))
par(mfrow=c(4,2))

line = 3

barplot(z1, ylim=c(-2,2), xlab="Years", ylab="spei", xaxp=c(181,2005,1), 
col=ifelse(z1>0,"green","brown »))

hoe help on this issue

Fipou
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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