Re: [R] boxplot names italic

2012-09-25 Thread Jim Lemon
On 09/25/2012 06:08 PM, Wolf Sarah wrote: Hello I have two boxplots and want the names to be in italic, which works fine, except that the second name (Sinapis) is raised, compared to the first name: bicran<-c(0.55,0.25,0.6,0.83,0.11,0,0.67,1.36,0.9,1.09) bicsin<-c(0.09,0.53,0.45,0.38,1.18,0.45

[R] boxplot names italic

2012-09-25 Thread Wolf Sarah
Hello I have two boxplots and want the names to be in italic, which works fine, except that the second name (Sinapis) is raised, compared to the first name: bicran<-c(0.55,0.25,0.6,0.83,0.11,0,0.67,1.36,0.9,1.09) bicsin<-c(0.09,0.53,0.45,0.38,1.18,0.45,0.78,1.17,1.22,1.4) ran.text<-expression(it

Re: [R] Boxplot names

2012-07-19 Thread S Ellison
> When i make Boxplots with a lot of boxes, the names of them > get only written down every second "column". > Since they aren't in any way ordered, you don't see anymore > to what they belong. Jessica, Another possibility if the names are long is to use abbreviated factor levels. The labels a

Re: [R] Boxplot names

2012-07-19 Thread John Fox
Dear Jessica, You might try par(las=2) to rotate the tick labels to be perpendicular to the axes. I hope this helps, John John Fox Sen. William McMaster Prof. of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Ca

Re: [R] Boxplot names

2012-07-19 Thread Bert Gunter
You might alternatively find the horizontal = TRUE with las=2 to be useful; e.g. dat <- data.frame(val=rnorm(100), grp=rep(apply(matrix(sample(letters,100,rep=TRUE),nr=5),2,paste,collapse=""),5)) boxplot(val~grp,horizontal=TRUE,data=dat,las=2) ## Note that las=2 might also help with horizonta

Re: [R] Boxplot names

2012-07-19 Thread Jessica Streicher
Copied the wrong lines, sry l<-rep(list(1:5),20); boxplot(l,names=sample(1:20,20)) of course. thanks for the answer . On 19.07.2012, at 16:17, Peter Ehlers wrote: > On 2012-07-19 06:58, Jessica Streicher wrote: >> When i make Boxplots with a lot of boxes, the names of them get only written >>

Re: [R] Boxplot names

2012-07-19 Thread Peter Ehlers
On 2012-07-19 06:58, Jessica Streicher wrote: When i make Boxplots with a lot of boxes, the names of them get only written down every second "column". Since they aren't in any way ordered, you don't see anymore to what they belong. example: l<-rep(list(1:5),20); boxplot(l,names=sample(20,1:20)

[R] Boxplot names

2012-07-19 Thread Jessica Streicher
When i make Boxplots with a lot of boxes, the names of them get only written down every second "column". Since they aren't in any way ordered, you don't see anymore to what they belong. example: l<-rep(list(1:5),20); boxplot(l,names=sample(20,1:20)) Is there a way to show them all, or do i have