Do your matrices "match up" with each other in any meaningful way or do you just want two independent plots on a single page?
You should probably provide the dput() output of each table object so we can see what you've got. Michael On Fri, Mar 9, 2012 at 11:07 AM, aoife doherty <aaral.si...@gmail.com> wrote: > Many thanks for reply. > I have trouble understanding how to use response, i am sorry. > My question is i have two matrices. I then plot two matrices. Then I have 2 > seperate plots. I can color the nodes in the plots in two different colors. > Then, how do i merge the two plots to view one overlapping the other? i.e. > to view two sets of data in one 2D space? > > Many thanks > > > On Fri, Mar 9, 2012 at 3:51 PM, R. Michael Weylandt > <michael.weyla...@gmail.com> wrote: >> >> No idea what table1, table2 are.... >> >> plot(1:5, type = "l") >> points(5:1, col = 2) >> >> should get you started. >> >> Michael >> >> On Fri, Mar 9, 2012 at 10:17 AM, aaral singh <aaral.si...@gmail.com> >> wrote: >> > Hello. >> > >> > I have 2 plots. >> > >> >> plot1 <-plot(table1) >> >> plot2 <-plot(table2) >> > >> > How may i plot these both on the same graph, i.e. layer one graph on top >> > of >> > the other one. >> > The result should look similar to this the image below, where the black >> > lines indicate one plot, and the red dots indicate the second plot. >> > >> > http://r.789695.n4.nabble.com/file/n4459732/R_screen_shot.png >> > >> > Aaral. >> > >> > >> > -- >> > View this message in context: >> > http://r.789695.n4.nabble.com/layer-plots-tp4459732p4459732.html >> > Sent from the R help mailing list archive at Nabble.com. >> > >> > ______________________________________________ >> > 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. >> >> ______________________________________________ >> 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. > > ______________________________________________ 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.