Hi:

A perusal of the splom() help page indicates the following:

...If you are trying to fine-tune your splom plot, definitely look at the
panel.pairs <http://127.0.0.1:26915/library/lattice/help/panel.pairs> help
page. The scales argument is usually not very useful in splom, and trying to
change it may have undesired effects.

Your changes need to be made inside a scales statement, so it appears you'll
need to modify the arguments to panel.pairs() accordingly through a panel
function as part of the splom() call. The arguments for scales are described
in the xyplot() help page of the lattice package and in section 8.2 of Dr.
Sarkar's Lattice book.

On Wed, Nov 10, 2010 at 4:36 PM, Xiaoqi Cui <xcui@mtu.edu> wrote:

> Hi everyone:
>
> I'm using "splom" to draw scatterplot matrix. I'm wondering how can I
> change the axis labels to c(1,10,100,1000,...)
> instead of c(1,2,3,...), and also how can I change the text size (for
> labels)?
>

Supposing this is for the x-axis, something like this should get you
started:

...,  scales = list(x = list(at = 10^(0:6), cex = 1.4), ....), ...

where 1 is the default size for cex. Its value represents the desired
magnification factor relative to the default.

HTH,
Dennis

>
> Thanks a lot!
> xcui
>
> ______________________________________________
> R-help@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.
>

	[[alternative HTML version deleted]]

