Re: [R] How to plot multiple graphs each with multiple y variables

2009-02-09 Thread Peter Alspach
el > Sent: Tuesday, 10 February 2009 10:43 a.m. > To: r-help@r-project.org > Subject: [R] How to plot multiple graphs each with multiple y > variables > > I am new to R and have a problem that I haven't been able to > find the answer to in the guides or online. > > I h

Re: [R] How to plot multiple graphs each with multiple y variables

2009-02-09 Thread Gabor Grothendieck
Try something like this where we use the built in data frame anscombe: opar <- par(mfrow = c(1, 2), no.readonly = TRUE) matplot(1:11, anscombe[1:4], pch = 1:4, col = 1:4, log = "x", ylab = "Y") matplot(1:11, anscombe[5:8], pch = 1:4, col = 1:4, log = "x", ylab = "Y") par(opar) On Mon, Feb 9, 200

[R] How to plot multiple graphs each with multiple y variables

2009-02-09 Thread gina patel
I am new to R and have a problem that I haven't been able to find the answer to in the guides or online. I have multiple datasets, D1, D2, D3, D4, D5, D6, D7 and D8, and I would like to produce two plots side by side using mfrow.  The first plot should contain data from D1-D4, the second should