[R] tickmarks with time in dotplots

Mikkel Grum mi2kelgrum at yahoo.com
Mon Feb 22 23:47:09 CET 2010


I'm drawing lattice dotplots with time along the x-axis as in:

C <-data.frame(c("A", "B"),Sys.time()+ rnorm(50)*3600)
names(C) <- c("Name", "Time")
dotplot(Name ~ Time, data = C, horizontal = TRUE)

On my display, the x-axis shows tick marks every two hours. I would like to show something more frequent; at least every hour, possibly more often. I've tried many variants of my understanding of the syntax in the help file, but I'm not making progress.

Any suggestions?

All suggestions greatly appreciated.


More information about the R-help mailing list