Re: [R] Creating a flat legend 'grob' for lattice xyplot

2011-07-27 Thread Mark
Hi Marcus, That's almost it! So ncol and column do the same thing in different functions... gah! Because my real use of xyplot I override the default plotting colors and character, autokey doesn't 'know' this, so they don't match. So the addition of the par.settings element is needed (from anot

Re: [R] Creating a flat legend 'grob' for lattice xyplot

2011-07-27 Thread David Winsemius
On Jul 27, 2011, at 1:31 PM, Mark wrote: Hi, I want my xyplot legend to be flat, not tall, and there seems to be no way for xyplot's auto.key and key elements to do this: I tried many, many permutations of what I could find in the archives and reading the documentation. If there there's a

Re: [R] Creating a flat legend 'grob' for lattice xyplot

2011-07-27 Thread Gesmann, Markus
'to make','this into', 'a grob?'), space="top" )) Regards Markus -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mark Sent: 27 July 2011 18:32 To: r-help@r-project.org Subject: [R] Creating a

[R] Creating a flat legend 'grob' for lattice xyplot

2011-07-27 Thread Mark
Hi, I want my xyplot legend to be flat, not tall, and there seems to be no way for xyplot's auto.key and key elements to do this: I tried many, many permutations of what I could find in the archives and reading the documentation. If there there's a way to make it flat, please tell me what the mag