Skip to content
Prev 65642 / 398506 Next

Lattice device page options-margins

You can add some space to the left by setting the left.padding component 
of the layout.widths trellis setting. For example:

library(lattice)
trellis.device(new=TRUE)
trellis.par.set(layout.widths = list(left.padding = 20))

require(stats)
## Tonga Trench Earthquakes
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes)

hope this helps,

Chuck Cleland
Bock, Michael wrote: