[R] plot.ts panel function

Gabor Grothendieck ggrothendieck at gmail.com
Wed Jul 12 13:14:34 CEST 2006


If you convert the ts object to a zoo object then it will
invoke plot.zoo in which case ylim= will work:

library(zoo)
x <- cbind(1:10,1:10/10)
plot(zoo(x), ylim = c(0,3))


On 7/12/06, Matthias Braeunig <mb.atelier at web.de> wrote:
> How can I set the ylim in individual panels of a "multiple" plot.ts?
> The panels are all scaled to fully fit the series inside. But I need
> specific scales, and colors ....
>
> Here is an example:
>
> plot.ts(cbind(1:10,1:10/10),ylim=c(0,3))        # ylim has no effect
>
> Can someone more knowledgable please explain how to use the panel=
> option correctly, thanks!
>
> Cheers, m
>
> ______________________________________________
> R-help at 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
>



More information about the R-help mailing list