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 but there they are wide
apart. Is there a way to reduce the space between them?
Currently they look like this:

        |
        |
one|   |--[]---------|
        |
        |
        |
       |
       |
       |
       |
       |
       |
two| |----------[]-------| 
       |
       |
       |__________________________

I mean to reduce the space between "one" and "two" and maybe also "two" and
x-axis.

How can I do this? Thanks!



--
View this message in context: 
http://r.789695.n4.nabble.com/multiple-boxplots-on-the-same-figure-reducing-space-in-between-tp4640503.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to