[R] Scatter Plot

John Kane jrkrideau at yahoo.ca
Thu Jul 30 22:34:53 CEST 2009


x <- 1:10
y <- 1:10
plot("", xlim=c(1,10),ylim=c(0,10)
text(x,y, labels=x)

--- On Thu, 7/30/09, amna khan <amnakhan493 at gmail.com> wrote:

> From: amna khan <amnakhan493 at gmail.com>
> Subject: [R] Scatter Plot
> To: r-help at r-project.org
> Received: Thursday, July 30, 2009, 12:14 PM
> 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.
> 


      __________________________________________________________________
Be smarter than spam. See how smart Sp
ck on Options in Mail and switch to New Mail today or register for free at 



More information about the R-help mailing list