[R] multiple plots on same x axis

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Tue Sep 27 19:22:11 CEST 2005


Try 

plot(Day, gene1)
lines(Day, gene2)


see 

?lines
 
for more details.


Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of IAIN GALLAGHER
Sent: Tuesday, September 27, 2005 10:35 AM
To: r-help at stat.math.ethz.ch
Subject: [R] multiple plots on same x axis

Hi.

I have two vectors of gene expression for each of
several days. I want to plot both vectors on the same
plot for a visual representation of up versus down
regulation. I've tried using add=T but that doesn't
work. 

eg

>plot(Day, gene1)
>plot(Day, gene2, add=T)

Any help would be appreciated.

Iain

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list