[R] using scatter plot for different values

2011-02-25 Thread amir
Hi everyone,

I have two different results which is determined by (x,y)
 x1 - c(1,5,8)
 y1 - c(8,9,10)
 x2 - c(1,7,9)
 y2 - c(5,7,9)

Let call one=(x1,y1) and Two=(x2,y2)

how can I draw them in R in a scatter plot showing (x,y) with two
different legends (One, Two)

Regards,
Amir

__
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.


Re: [R] using scatter plot for different values

2011-02-25 Thread David Winsemius


On Feb 25, 2011, at 10:26 AM, amir wrote:


Hi everyone,

I have two different results which is determined by (x,y)

x1 - c(1,5,8)
y1 - c(8,9,10)
x2 - c(1,7,9)
y2 - c(5,7,9)


Let call one=(x1,y1) and Two=(x2,y2)

how can I draw them in R in a scatter plot showing (x,y) with two
different legends (One, Two)


? points



Regards,
Amir

__
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.


David Winsemius, MD
West Hartford, CT

__
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.