Skip to content
Prev 32981 / 398506 Next

scales in xyplot doesn't seem to work for x axis

On Thursday 05 June 2003 06:41, Ernesto Jardim wrote:
By 'month', so you mean a POSIXct object ? lattice is not very good with 
those.

The other possibility is that your mes is a factor (or a character vector, 
which is essentially the same). In that case, tick.number will have no effect 
(it works only for numeric). You could do something like

xlim = c('Jan', '', '', 'Apr', '', '', 'Jul', '', '', 'Oct', '', '')