Re: [R] xyplot: several plots in one creates y-scale problem

2010-01-03 Thread Duncan Mackay
Hi As you did not provide an example as per posting guide here is one dataset cobbled from zoo help. It is fairly rough but is optioned up to give you an idea. The legend takes is cues from trellis.par.set() and you can set this for the plot by using par settings It makes use of strip.left whi

[R] xyplot: several plots in one creates y-scale problem

2010-01-02 Thread Jay
Hello, I've been looking for a solution to this problem for some time now but I seem unable to solve it.. so this is the case: I want to plot 4 time series in the same graph using xyplot(). When I do this with xyplot(mydata[,2]+mydata[,3]+mydata[,4]+mydata[,5] ~ mydata[,1], data = mydata,