Skip to content
Back to formatted view

Raw Message

Message-ID: <200509271724.j8RHO35u007576@hypatia.math.ethz.ch>
Date: 2005-09-27T17:22:11Z
From: Charles Annis, P.E.
Subject: multiple plots on same x axis
In-Reply-To: <20050927143453.13395.qmail@web86709.mail.ukl.yahoo.com>

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