[R] make three plot to one plot

2005-10-21 Thread Jan Sabee
Dear all, I want to make three plot below to only one plot together with legend, how can I do that? I have tried with matplot function but I did not succeed. Thanks for your help. Sincerelly, Jan Sabee test.five.x - c(0.02,0.05,0.07,0.09,0.10,0.12,0.13,0.14,0.16,0.17,0.20,0.21,0.34,0.40)

Re: [R] make three plot to one plot

2005-10-21 Thread Marc Schwartz (via MN)
On Fri, 2005-10-21 at 21:13 +0200, Jan Sabee wrote: Dear all, I want to make three plot below to only one plot together with legend, how can I do that? I have tried with matplot function but I did not succeed. Thanks for your help. Sincerelly, Jan Sabee test.five.x -

Re: [R] make three plot to one plot

2005-10-21 Thread Gabor Grothendieck
# we can create a zoo object library(zoo) z - merge(five = zoo(test.five.y, test.five.x), six = zoo(test.six.y, test.six.x), seven = zoo(test.seven.y, test.seven.x)) # and then plot it all in one go using na.approx to fill in generated NAs plot(na.approx(z), plot.type = single,

Re: [R] make three plot to one plot

2005-10-21 Thread Jan Sabee
Thanks to Marc and Gabor. Have a nice weekend. Best, Jan Sabee On 10/21/05, Jan Sabee [EMAIL PROTECTED] wrote: Dear all, I want to make three plot below to only one plot together with legend, how can I do that? I have tried with matplot function but I did not succeed. Thanks for your help.