[R] (no subject)
Jim Lemon
jim at bitwrit.com.au
Fri May 12 04:09:27 CEST 2006
angelare at to.infn.it wrote:
> Good morning,
> i'm drawing a barplot (data are stored in a matrix,nrow=3,ncol=10). So i
> get 10 groups each containing 3 sub-bars. I need to change the range of
> the y-axis when i plot respectively the first and the other two sub-bars
> in each group. I can't manage. Could you help me?
Hi Angela,
If you mean that you want two ordinates on your plot, have a look at:
http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_addat.html
or if you mean that you have one little and two big bars and you want a
discontinuous axis, maybe gap.barplot in the plotrix package will suit you.
Jim
More information about the R-help
mailing list