Skip to content

Using the same y-axis range for each plot in "plot.ts"

2 messages · Ugur Ozdemir, Gabor Grothendieck

#
Hi,

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.

Ugur



Microsoft gives you windows, Linux gives you the whole house.


      ____________________________________________________________________________________
Be a better friend, newshound, and
#
Try using plot.zoo from the zoo package.  This plots them
all within the range 3000 to 5000:

library(zoo)
plot(as.zoo(EuStockMarkets), ylim = c(3000, 5000))
On Dec 11, 2007 6:44 PM, Ugur Ozdemir <ugurozdemir at yahoo.com> wrote: