Displaying 1 result from an estimated 1 matches for "tstenyield".
2006 Oct 26
1
Adding shading to background of Time series plot
...vance.
I have looked up and down in the archives to see if I could find some help
on moving the polygons to the background of a ts.plot. I've tried
panel.first in the gpars(...) arguments and trellis.focus, but I get
errors. Am I missing something easy here? Here is my script:
ts.plot(tsdjia, tstenyield, gpars = list(xlab = " ", ylab = " ",
axes=FALSE, col=c(12,14)))
mtext("Time", side=1, line=3, cex = 0.75, font = 1)
mtext("Yield", side=4, line=1, cex = 0.75, font = 1)
mtext("Dow Jones Level", side=2, line=2, cex = 0.7, font = 1)
polygon(cord.x2...