[R] Getting the same y-axis in a multivariate time series plot - plot(ts(...)); ylim does not do the trick

From: Søren Højsgaard <Soren.Hojsgaard_at_agrsci.dk>
Date: Fri 30 Dec 2005 - 03:45:19 EST


I try to obtain the same y-axis for a 2-dim time series with  

  plot(ts(cbind(rnorm(10), rnorm(10,mean=4))),ylim=c(0,20))

but that does not work. Looking in the code for plot.ts, the ylim-argument seems to be taken care of, but not the way I expect. Can anyone help on this? Thanks
Søren



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Dec 30 03:49:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:44 EST