[R] Scatter Plot

baptiste auguie baptiste.auguie at googlemail.com
Thu Jul 30 20:57:37 CEST 2009


Hi,

Try this,

plot(1:5,1:5, t='p', pch=paste(1:5))

baptiste


2009/7/30 amna khan <amnakhan493 at gmail.com>:
> Dear Sir
>
> I want to write the numbers 1,2,3,----on a scatter plot instead of points,
> like 1 corresponding to first point on plot, 2 corresponding second point
> etc.
> Help in this regard.
>
> Regards
>
> --
> AMINA SHAHZADI
> Department of Statistics
> GC University Lahore, Pakistan.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list