Stephen T.
2010-Oct-23 16:25 UTC
[R] removing margin space between columns in lattice plots
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...).Thanks!Stephen [[alternative HTML version deleted]]
Deepayan Sarkar
2010-Oct-28 16:33 UTC
[R] removing margin space between columns in lattice plots
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