Hi Carol, It isn't at all clear exactly what you are trying to do, but you might want to read the help for either points() and lines() [to put more than one data pair on a single plot], or for par, specifically mfrow and mfcol, or for layout [to put more than one plot on a single device window].
If none of those do it, then try again with a more detailed description of what you are looking for. Sarah On Fri, Oct 9, 2009 at 5:10 PM, carol white <wht_...@yahoo.com> wrote: > Hi, > How to plot the same types of graphics on the same R graphic device? Suppose > that we want to plot a vector y against x (using plot for instance). How is > it possible to plot y against x for different values of these two vectors on > the same device so that the plots could be compared? > > Cheers, > > Carol > > > > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.