[R] New trellis settings
David Hinds
dhinds at sonic.net
Wed Dec 1 00:01:32 CET 2004
On Tue, Nov 30, 2004 at 04:33:50PM -0600, Deepayan Sarkar wrote:
> >
> > I've fiddled with these and can pretty much get what I want. But
> > without really understanding what I'm doing. It isn't clear to me,
> > for instance, why the "key" settings affect my plot when no key is
> > drawn.
>
> It shouldn't (unless you have messed with lattice.options()). Can you
> provide an example? The following doesn't do anything unusual for me:
>
> xyplot(1~1,
> par.settings =
> list(layout.heights = list(key.top = 100, key.bottom = 100)))
>
> (I'm running r-devel though, so there's a small chance something might
> be different.)
I'm only talking about the *.padding options, like:
xyplot(1:4~1:4,
par.settings=list(layout.heights=list(key.axis.padding=10)))
-- Dave
More information about the R-help
mailing list