[R] features boxplot

2008-01-24 Thread Schmitt, Corinna
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

Re: [R] features boxplot

2008-01-24 Thread Henrique Dallazuanna
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