Hi Deepayan,
You will need to do it manually, e.g.:
xyplot(value ~ date, data = x,
panel = function(x, y, subscripts, ...) {
panel.grid(h = -1, v = 0, col = grey, lwd = 1, lty = 1)
panel.abline(v = as.Date(c(2005/01/01, 2006/01/01)),
Hi,
I have a basic question about aligning date labels for the x-axis
in an xyplot so that they align with the grid lines
from the panel.grid argument.
For example, with
x - data.frame(
date = seq(as.Date(2005/01/01), as.Date(2006/06/01),
length.out = 20), value = runif(20))
xyplot(value ~
On 6/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I have a basic question about aligning date labels for the x-axis
in an xyplot so that they align with the grid lines
from the panel.grid argument.
For example, with
x - data.frame(
date = seq(as.Date(2005/01/01),