Re: [R] boxplot - margin settings

2009-04-29 Thread Antje
I knew the solution would be kind of simple... Thanks a lot, Sarah! Sarah Goslee schrieb: boxplot() isn't passing extra parameters in the way you'd expect. If you set par() first, it works fine. mar.orig <- par()$mar # save the original values par(mar = c(20,4,4,4)) # set your new values boxp

Re: [R] boxplot - margin settings

2009-04-29 Thread Sarah Goslee
boxplot() isn't passing extra parameters in the way you'd expect. If you set par() first, it works fine. mar.orig <- par()$mar # save the original values par(mar = c(20,4,4,4)) # set your new values boxplot(data, las = 2) par(mar = mar.orig) # put the original values back Sarah On Wed, Apr 29, 2

[R] boxplot - margin settings

2009-04-29 Thread Antje
Hi there, I'm trying to solve a boxplot problem (should be simple, but I cannot find the solution...): data <- list("long_name1_xxx" = rnorm(100), "long_name2_yy" = rnorm(200)) boxplot(data , las = 2, mar = c(20,4,4,4)) Why does the margin not chang