Skip to content
Prev 245818 / 398506 Next

lattice splom: how to adjust space between tick marks and tick labels?

On 2010-12-26 08:26, Marius Hofert wrote:
Marius,
I think that you mean something like the following:

  U <- matrix(runif(300), ncol = 3)
  splom(U, par.settings = list(
                 axis.components = list(
                     left = list(pad1 = 3)
                 )
           )
  )

which will adjust the left axis; you'll have to add
right, top, bottom components to handle those as well.

Have a look at what trellis.par.get() produces and
check the axis.components section.

Peter Ehlers