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? Thanks, Dan Bebber info: Windows XP, R 2.4.1., lattice 0.14-16
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?Why not subset your data? (Of course if you are overlaying statistical transformations, eg. a smoother, this will affect those displays as well) Hadley
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