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

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Wed, 09 Jun 2010 21:42:58 -0700

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



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 10 Jun 2010 - 04:45:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jun 2010 - 05:20:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive