From: Austin, Matt <maustin_at_amgen.com>

Date: Thu 22 Dec 2005 - 03:39:18 EST

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 Thu Dec 22 03:47:13 2005

Date: Thu 22 Dec 2005 - 03:39:18 EST

Phil,

Does the following do what you want?

plot(RecfS,

ylab = 'Temperature (deg C)', xlab = 'Year', main = 'Average air temperature (deg C) at Recife, Brazil, in successive months from 1953 to 1962', adj = 0.5, axes=FALSE)

axis(1, at=1952:1962, label=paste("Jan", 52:62), las=2)
axis(2)

box()

--Matt

I am merely trying to reproduce Figure 1.2 of Chris Chatfield's 6th edition of his The Analysis of Time Series: An Introduction (page 2). The S-PLUS code is on pages 305-306. I am almost there but I am having a heck of a time trying to modify and change the x-axis per the book. The book shows the x-axis with 10 tick marks, correctly positioned, and labeled "Jan 53", ..., "Jan 62". I have not provided the data for the sake of brevity although it is readily available at http://www.bath.ac.uk/~mascc/Recife.TS

Can anyone help?

recife <- as.vector(t(recife))<>

RecfS <- ts(recife, start = c(1953,1), frequency = 12) <>
plot(RecfS, ylab = “Temperature (deg C)”, xlab = “Year”, main = “Average
air temperature (deg C) at Recife, Brazil, in successive months from
1953 to 1962”, adj = 0.5)

Thanks,

Philip Turk

*<>
*

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 Thu Dec 22 03:47:13 2005

*
This archive was generated by hypermail 2.1.8
: Thu 22 Dec 2005 - 04:28:56 EST
*