[R] removing margin space between columns in lattice plots

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Oct 28 18:33:19 CEST 2010


On Sat, Oct 23, 2010 at 9:25 AM, Stephen T. <obsessively at hotmail.com> wrote:
>
> Hi list,
>
> From the xyplot() documentation I'm guessing this may not be
> possible, but is there a way to specify a scale definition something
> between relation="free" and relation="same" such that the scales are
> fixed across rows and column margins are removed for a M x N
> conditioning plot (sort of like ggplot2 plots)? I find that the
> margin spacing in between each panel is taking up a lot of space and
> looking for a solution (and perhaps I'm doing something wrong but
> ggplot2 is extremely slow on my machine [Mac 10.5 running R 2.12] so
> I am unable to use it effectively...).

Check out ?combineLimits from the latticeExtra package.

-Deepayan



More information about the R-help mailing list