[R] Side by side strip charts

peter dalgaard pdalgd at gmail.com
Fri Jul 13 20:34:37 CEST 2012


On Jul 13, 2012, at 18:54 , darnold wrote:

> OK, got this far:
> 
> x1 <- round(rnorm(10,60,3))
> x2 <- round(rnorm(10,65,3))
> x3 <- round(rnorm(10,70,3))
> stripchart(list(sample1=x1,sample2=x2,sample3=x3),
>           method="stack",
>           pch=4,
>           offset=1/2,
>           col="blue",
>           lwd=2,
>           las=1)
> 
> Any ideas on how to get an axes drawn under each one as in the image?
> 

I'd expect axis(....., pos=something) to be your friend.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list