thanks! this solves my problem perfectly
--
View this message in context:
http://r.789695.n4.nabble.com/multiple-boxplots-on-the-same-figure-reducing-space-in-between-tp4640503p4640570.html
Sent from the R help mailing list archive at Nabble.com.
__
Hello,
Without data, I've made up my own. Try the following.
x <- rnorm(100)
y <- rnorm(100)
bp <- boxplot(x, y, range = 0, names=c("One","Two"))
bx <- bxp(bp, horizontal=TRUE, boxwex = 0.15, at = c(1, 1 + 2*0.15))
bx
Note that in the call to boxplot you only need the arguments that affect
t
Hi
I have two vectors of integers and I am plotting a box plot that contains
both vectors. I have done the following:
vec1 < -scan("file1")
vec2 < -scan("file2")
boxplot(vec1, vec2, range=0, horizontal=TRUE, names=c("One","Two"),
boxwex=0.15)
I managed to get both boxplots on the same figure bu
3 matches
Mail list logo