Skip to content

plotting time series for particular months!

4 messages · govindas at msu.edu, steven mosher

#
thanks .. and it did work! but i see some jagged lines in between the years, typically like the one? joining dec of previous year and oct of the successive year. Is this how it would look like? can it be made better?

have included the plot!

heres the code..!

x.date <- as.Date(paste(chn.arr[,1], chn.arr[,2], chn.arr[,3], sep="-"))
ts.chn <- ts(chn.arr[1:2386,4])
z.chn <- zoo(ts.chn, x.date)
plot(z.chn, main = "Rainfall variations", xlab = "Year", ylab="Daily rainfall (mm)")