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)? Cheers, Marius
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
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
It gets my vote. -Peter Ehlers On 2010-06-10 9:30, Bert Gunter wrote:> Is the quote below from Deepayan a possible Fortune? It put a sardonic smile > on my lips. > > Bert Gunter > Genentech Nonclinical Biostatistics > > > ... You should really get into the habit of reading > documentation; it can often turn out to be very useful. > > -Deepayan Sarkar >