[R] How limits are set in a scales list

Patrick Connolly p.connolly at hortresearch.co.nz
Tue Sep 9 06:36:20 CEST 2003


I have a lattice plot that has 4 pages with 4 columns and 8 rows per
page.  I wish to have the rows use a separate x-axis since their
ranges are quite different, but I wish to have those same limits used
on each page.

By setting an element of the scales list to something like x = list(limits = 
                       lim.list$CFU, lim.list$CFU, lim.list$CFU, lim.list$CFU,
                       lim.list$TU, lim.list$TU, lim.list$TU, lim.list$TU, 
                       etc, etc) ,
                       relation = "sliced")

where lim.list is a list of the limits I wish to use, Only the first
four panels (but on each page) are drawn using the limits I wish to
use.  Thereafter, they're all the same, but not in accordance with any
other values in lim.list.

The help page does not make it clear to me just how I should be
specifying the list.  There was recently something like this but I
didn't manage to find it in the archives to check if it covered what I
require.

Ideas welcome.

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the R-help mailing list