Try this: boxplot(vsnrg$M~col(vsnrg$M), xaxt="n") axis(1, at=1:length(colnames(qrg)), labels=colnames(qrg))
On 24/01/2008, Schmitt, Corinna <[EMAIL PROTECTED]> wrote: > Hallo, > > I just made a boxplot with the following command: > boxplot(vsnrg$M~col(vsnrg$M)) > > When I now look at the plot. On the x-axis I just find numbers 1-6 > because I have 6 datasets plotted. Now I want to add there the > corresponding names which can be found in colnames(qrg). How can I > realize this the online help does not help me. > > Thanks Corinna > > ______________________________________________ > R-help@r-project.org 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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org 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.