Hello,
I do this
a=c(10.2,0.4,0.2,5.2,8.6,1.6,0.0,1.0,6.3,1.4,0.4,0.2)
b=matrix(a,nrow=4)
rownames(b)=c("20/04/2002","21/04/2002","22/04/2002","23/04/2002")
colnames(b)=c("p1","p2","p3")
barplot(b,beside=T,col=(c("red","orange","yellow")))

then I have 
http://www.mif.vu.lt/~roka5178/barplot1.JPG<http://www.mif.vu.lt/%7Eroka5178/barplot1.JPG>
but I need to have
http://www.mif.vu.lt/~roka5178/barplot.JPG<http://www.mif.vu.lt/%7Eroka5178/barplot.JPG>
how can i do this?
i need to  to change axis x whit y

--
Robertas

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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