On Nov 24, 2007 9:57 PM, jim holtman <[EMAIL PROTECTED]> wrote:
> Does this give you want you want?
>
> x <- sample(1:10)
> plot(rep(1:10, x), unlist(sapply(x, seq)), pch=19, cex=3, yaxt='n')
>
>
>
> On Nov 24, 2007 4:26 PM, Paul Smith <[EMAIL PROTECTED]> wrote:
> > Dear All,
> >
> > Can R produce dot plots like the one of the following picture:
> >
> > http://en.wikipedia.org/wiki/Image:Dotplot_of_random_values.png
> >
> > ?
> >
> > I have tried dotchart, but no success.

Thanks to all.

All approaches work, but the dots with stripchart are too far away
from the x-axis. Can one move the dots down?

Paul

______________________________________________
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