Hi Antje,

Try this:

d1 <- rnorm(100)
d2 <- rnorm(150)
boxplot(c(d1,d2) ~ rep(c(1,2),c(100,150)),col=c(4:5))

HTH,

Jorge


On Fri, May 23, 2008 at 11:52 AM, Antje <[EMAIL PROTECTED]> wrote:

> Hi there,
>
> assume that you have data with different sampling like
>
> d1 <- rnorm(100)
> d2 <- rnorm(150)
>
> now, I'd like to create two boxplots in one graph but each plot located at
> the sampling number at the x-axis. This, I can do with "at"
>
> l <- list(d1,d2)
> boxplot(l, at=c(length(d1), length(d2)), xlim=c(0,200) )
>
> but both plots are very thin and I'd like to increase the width of the
> plot.
> I tried "width" but probably I do it wrong.
>
> Can anybody help me?
>
> Antje
>
> ______________________________________________
> 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.

        [[alternative HTML version deleted]]

______________________________________________
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