[R] question about graph

2010-05-22 Thread khazaei
Hi,


I have two different sets of data from two different populations. I want
to plot these samples (for example: Line graph) by just one graph.
could you please help me?

Thanks
Khazaei

__
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] question about graph

2010-05-22 Thread John Kane
This is not enough information to let us give a good example but perhaps ?lines 
or ?points might help?



Example

aa - 1:5
bb - 1:5
cc - c(1.5,2.5,3.5,4.2,4.4)
plot(aa,bb)
lines(aa,cc,col='red')
points(aa,cc, col=blue)


--- On Sat, 5/22/10, khaz...@ceremade.dauphine.fr 
khaz...@ceremade.dauphine.fr wrote:

 From: khaz...@ceremade.dauphine.fr khaz...@ceremade.dauphine.fr
 Subject: [R] question about graph
 To: r-help@r-project.org
 Received: Saturday, May 22, 2010, 5:53 AM
 Hi,
 
 
 I have two different sets of data from two different
 populations. I want
 to plot these samples (for example: Line graph) by just one
 graph.
 could you please help me?
 
 Thanks
 Khazaei
 
 __
 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.


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