[R] lattice: how to remove ticks from splom()?

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Jun 10 06:42:58 CEST 2010


On Wed, Jun 9, 2010 at 1:32 PM, Marius Hofert <m_hofert at web.de> wrote:
> Dear ExpeRts,
>
> why does
>
> splom(~iris[,1:4],scales = list(alternating = c(0,0), tck = c(0,0)))
>
> not remove the ticks and labels (xyplot does)?

It does actually, though not in the way you think. Compare with

splom(~iris[,1:4], scales = list(tck = 1, draw = TRUE))

What you want is

splom(~iris[,1:4], axis.line.tck = 0)

See ?panel.pairs.

-Deepayan



More information about the R-help mailing list