[R] inner margins for lattice

Deepayan Sarkar deepayan.sarkar at gmail.com
Sat Aug 23 03:29:11 CEST 2008


On Fri, Aug 22, 2008 at 11:28 AM, Todd Hatfield <hatfield at solander.bc.ca> wrote:
> I would like to control the inner margins of a lattice graph.  The graph is
> a single superposed panel, but there is too much white space around the data
> for my liking.  I've played around with some of the layout options, but so
> far have found only how to control outer margins.

If you mean the amount by which the data range is extended, try:

lattice.options(axis.padding = list(numeric = 0.01))
xyplot(1:10 ~ 1:10)

-Deepayan



More information about the R-help mailing list