Many thanks, Deepayan. As I suspected... I'll fool around with these key arguments to see what they do.
-- Bert > -----Original Message----- > From: Deepayan Sarkar [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 10, 2005 11:31 AM > To: Berton Gunter > Cc: [email protected] > Subject: Re: specifying a key for a trellis display > > On 11/10/05, Berton Gunter <[EMAIL PROTECTED]> wrote: > > Folks: > > > > The "key" argument of trellis commands (e.g. xyplot()) > allows one to place > > a > > key at the top of a trellis display using > > > > key=list(space='top',...) > > > > I would like to increase the space between the bottom of > the key and the > > trellis plots beyond the default. Is there a simple way to > do this? At > > present, I add an empty row (e.g. text = '', point colored > in background > > color) to the bottom of each key column. This seems a bit > of a kludge. Is > > there a slicker way to do it, i.e. a parameter that I have missed? > > Yes, trellis.par.get("layout.heights"). e.g. > > xyplot(1 ~ 1, key = list(text = list(letters[1:3]), points = > list(col = 1:3)), > par.settings = list(layout.heights = > list(key.axis.padding = 5))) > > -Deepayan > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
