[R] Using the same y-axis range for each plot in "plot.ts"
ggrothendieck at gmail.com
Wed Dec 12 00:57:52 CET 2007
Try using plot.zoo from the zoo package. This plots them
all within the range 3000 to 5000:
plot(as.zoo(EuStockMarkets), ylim = c(3000, 5000))
On Dec 11, 2007 6:44 PM, Ugur Ozdemir <ugurozdemir at yahoo.com> wrote:
> I would like to plot multiple time-series plots
> separately in the same window but I would like to have
> the same y-axis range for all of the plots for the
> sake of comparison. I am pretty sure there is a quick
> way to do it in plot.ts which I could not find.
> Any help is very much appreciated.
> Microsoft gives you windows, Linux gives you the whole house.
> Be a better friend, newshound, and
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help