[R] Padding in lattice plots

Federico Gherardini f.gherardini at pigrecodata.net
Fri Jul 15 16:19:03 CEST 2005

On Friday 15 July 2005 14:42, you wrote:
> Hi all,
> I've used the split argument to print four lattice plots on a single page.
> The problem now is that I need to reduce the amount of white space between
> the plots. I've read other mails in this list about the new trellis
> parameters layout.heights and layout.widhts but I haven't been able to use
> them properly. I've tried to input values between 0 and 1 as the padding
> value (both left and right and top and bottom) but nothing changed. It
> seems I can only increase the padding by using values > 1. Any ideas?
> Thanks in advance for your help
> Federico Gherardini
It seems like I've found an answer myself.... you have to use negative values 
to decrease the padding. I thought it was something like the cex parameter 
which acts like a multiplier but this is not the case.

Thanks anyway

More information about the R-help mailing list