- 1. Barplot and colors (score: 1)
- Author: Tristan Lorino <tristan.lorino@lcpc.fr>
- Date: Thu, 8 Jun 2006 11:06:01 +0200
- I have a barplot with 3 groups of 4 bars : where BB BBD BBTM 0 0.2757158 0.701565 0.8334865 1 6.6929253 30.936319 6.9957713 2 40.3272231 34.201295 42.0297849 3 52.7041357 34.160820 50.1409573 I woul
- /archives/html/s-news/2006-06/msg00014.html (6,585 bytes)
- 2. Re: Barplot and colors (score: 1)
- Author: "Austin, Matt" <maustin@amgen.com>
- Date: Thu, 8 Jun 2006 07:19:28 -0700
- The col argument to barplot can take a vector or a matrix (the same dimensions as ww). Try this out: barplot(ww,beside=T,ylab="Effectif (%)", col= matrix(rep(1:3, each=4), nrow=4)) Matt Austin Statis
- /archives/html/s-news/2006-06/msg00016.html (7,800 bytes)
This search system is powered by
Namazu