[R] Customizing axis labels with alternating in lattice

Deepayan Sarkar deepayan at stat.wisc.edu
Thu Dec 16 17:19:42 CET 2004


On Thursday 16 December 2004 09:58, Waichler, Scott R wrote:
> I would like to have complete control over which plots and which
> axes have labels in a lattice figure.  I tried lots of vectors for
> the alternating setting in scales, but none worked.  Here is what I
> would like to do for a 2 col x 3 row figure, where the x designates a
> location I would like to have axis labels:
>
>       ___________
>     x |_____|____|
>       |_____|____|x
>     x |_____|____|
>          x     x

This should be pretty basic:

scales = list(x = list(alternating = FALSE), 
              y = list(alternating = TRUE))

Deepayan




More information about the R-help mailing list