Re: [R] plot.ts panel function

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Wed 12 Jul 2006 - 21:14:34 EST

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@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@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
>



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 Wed Jul 12 21:21:06 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 12 Jul 2006 - 22:17:51 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.