Skip to content
Prev 178248 / 398506 Next

How to custom the tick and type in bwplot

On Apr 24, 2009, at 1:33 PM, Guanghong Zuo wrote:

            
Sometimes you need to refer the the help page for panel.<type of  
plot>, in this case:
?panel.bwplot

... so the answer is now staring you in the face:
bwplot(decrease ~ treatment, OrchardSprays, groups = rowpos, pch="|")
Using the example in bwplot again, and a fair amount of fruitless  
experimentation with the theory that one could do anything useful with  
scales=list(at= list(<something>)), I finally ended up trying ,  
labels=c( ) per Sarkar's Lattice book, producing this:

bwplot(decrease ~ treatment, OrchardSprays, groups = rowpos,  
scales=list(x=list( labels=c("A","","","D","","F","","") )))