Have a look at boxwex in boxplot. Something like
boxplot(y,add=TRUE,at=118, boxwex=3)
may give you what you want.

--- Marcin Kozak <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I want to add boxplots to a scatterplot:
> 
> plot(x,y, xlim=c(80,120),ylim=c(80,120))
> boxplot(y,add=TRUE,at=118)
> boxplot(x,add=TRUE,at=118,horizontal=TRUE)
> 
> How can I control the width of the boxes (say, I'd
> like them to be of
> width 3 in the variables' scales). I've tried the
> "width" parameter
> but failed.
> 
> Thanks in advance,
> Marcin
> 
> ______________________________________________
> 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.
> 



      Looking for the perfect gift? Give the gift of Flickr!

______________________________________________
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