Skip to content
Back to formatted view

Raw Message

Message-ID: <ED7CFAE8-4D9F-4934-9165-ACB39C40FE39@comcast.net>
Date: 2010-12-26T13:36:40Z
From: David Winsemius
Subject: lattice splom: how to adjust space between tick marks and tick labels?
In-Reply-To: <74E75786-724F-40A2-9EC3-C305317218CA@web.de>

On Dec 26, 2010, at 5:41 AM, Marius Hofert wrote:

> Dear expeRts,
>
> how can I decrease the space between the tick marks and the  
> corresponding labels in an splom?
> See here:
>
> library(lattice)
> U <- matrix(runif(4000), ncol = 8)
> splom(U, axis.text.cex = 0.2) # => space between the [small] tick  
> labels and tick marks is/seems to be too large

So you want more tick marks?

>
> I checked ?panel.pairs but could not find an option for that.

What about the pscales argument?

A single number would increase the number of ticks, or a list with  
"at" and "labels" values can be passed. Seem to be just what you asked  
for.

--

David Winsemius, MD
West Hartford, CT