Hello, I have been trying to plot correctly a graph for 2 month now, with no success.I want to put a grid, adjusted on the X axis tickers. Here is the way I build my X-Axis and my grid:
grid(11, NULL, col="grey40") axis(2) # build the tickers on the beginning of each monthticks.at <- seq(ISOdatetime(lastYear, 01, 01, hour=0, min=0, sec=0, tz="GMT"), ISOdatetime(lastYear, 12, 31, hour=0, min=0, sec=0, tz="GMT"), by = "months") ticks.lab <- format(ticks.at, format = "%b") Axis(ISOdatetime(lastYear, substr(index(xts1),6,7), substr(index(xts1),9,10), hour=0, min=0, sec=0, tz="GMT"), at = ticks.at, side = 1, labels = ticks.lab, las = 2) box() If anyone can help me, I would be very grateful. Xavier _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.