[R] lattice: clipping data, not plot margins

Deepayan Sarkar deepayan.sarkar at gmail.com
Fri Mar 2 17:45:37 CET 2007


On 3/2/07, Dan Bebber <danbebber at forestecology.co.uk> wrote:
> I am plotting subsets of my data, using ylim.
> This works fine, but the outer margin line widths of the plot are thin, due
> to clipping.
> If I include
> > trellis.par.set(clip=list(panel = "off"))
> then the outer margin line widths are fine, but the outlying data is
> visible.
>
> Is there any way of achieving both correct margin line widths and clipping
> of outlying data?

I believe this behaviour has already been changed in the svn sources
of lattice (i.e. the boundaries are not clipped). There hasn't been a
release since then, but I'll try to make one within a week or two.

Deepayan



More information about the R-help mailing list