[R] lattice: how to remove ticks from splom()?
Marius Hofert
m_hofert at web.de
Thu Jun 10 07:03:26 CEST 2010
How do I remove the labels (numbers)?
Is splom(~iris[,1:4], axis.line.tck = 0, axis.text.cex =0) the way to go?
Thanks,
Marius
On 2010-06-10, at 06:42 , Deepayan Sarkar wrote:
> 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