Justin - If both vectors are the same length, and the interpretations given to successive elements of each are the same, you might wish to make a bivariate scatterplot: plot(result.1, result.2). Otherwise, you could plot the values in each vector against their element numbers: plot(result.1, pch=15) points(result.2, pch=18) Depends on what makes sense in your own context.
- tom blackwell - u michigan medical school - ann arbor - On Tue, 17 Feb 2004, Justin Xi ZHU wrote: > Hi, > > How could I plot two vectors on the same graph? For example, if I have two > lists of results, each list is a vector. I want to display them on the same > graph, so I can compare them. How could I do that? > > Regards, Justin > > ______________________________________________ > [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 > ______________________________________________ [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