[R] Multiple trellis plots without intervening space

Dieter Menne dieter.menne at menne-biomed.de
Thu Apr 26 21:19:25 CEST 2007


David Lindelof <lindelof <at> ieee.org> writes:

> I'm trying to create a 10x7 rectangular grid of individual plots, each
> of which is a contour plot that shows a slice from a three-dimensional
> matrix.

The problem is that you construct individual plots, and then try to glue these
together. This is a bit against the trellis philosophy. Think of one data.frame,
one plot, broken down by panels.
 
> How can I specify that I do not want any margin at all between the
> plots, nor tick marks or axis labels? I have tried setting every
> layout.widths$XXX to zero without success.
> 

And then try the last example on the contourplot page, which does exactly what
you want.

Dieter



More information about the R-help mailing list