Hello Justin,

Monday, February 16, 2004, 10:10:21 PM, you wrote:

JXZ> How could I plot two vectors on the same graph? For example, if I have two
JXZ> lists of results, each list is a vector. I want to display them on the same 
JXZ> graph, so I can compare them. How could I do that?
JXZ> Regards, Justin

There several aproachs to that question.

Something like
plot(x, type ="l")
lines(y)
if both vectors have the same range...

another is

par(mfrow=c(1,2))
plot(x)
plot(y)

with each plot in diferent boxes...


Still reading the plot help and par could  be needed



or





Best regards,
 MMarques                            mailto:[EMAIL PROTECTED]

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

Reply via email to