[R] Limiting number of tickmarks in lattice bwplot

GL pflugg at shands.ufl.edu
Mon Jan 11 20:42:26 CET 2010


Have a simple bwplot with 24 ordered factors across the x axis. I would like
to only label every 4th tick mark so that the labels fit. I tried
scales=list(x=list(tick.number=6)), but I still seem to get 24 tickmarks and
24 labels. Full code is below:


bwplot(SumOfIn.Use ~ Hour | Period,
scales=list(x=list(tick.number=6)),horizontal=FALSE,las=2,main="Rooms
Running",sub="Timeframe: 8/09 - 12/09",xlab="Hour of Day",ylab="Rooms
Running",ex.main=0.7,cex.axis=0.5,data=dbs.weekday,as.table=TRUE,layout=c(2,1))

-- 
View this message in context: http://n4.nabble.com/Limiting-number-of-tickmarks-in-lattice-bwplot-tp1011515p1011515.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list