[EMAIL PROTECTED] wrote:
> On 6/22/07, Michael Hoffman <[EMAIL PROTECTED]> wrote:
>> What I want is to draw strips at the very top of the plot and not to
>> draw strips that are between panels.
 >
> xyplot(mpg ~ disp | factor(cyl) * HP, mtcars,
>        par.strip.text = list(lines = 0.5),
>        strip = function(which.given, which.panel, ...) {
>            if (which.given == 1)
>                strip.default(which.given = 1,
>                              which.panel = which.panel[which.given],
>                              ...)
>        },
>        par.settings =
>        list(layout.heights =
>             list(strip = rep(c(0, 1), c(5, 1)))))

Thanks, this is just what I was looking for.
-- 
Michael

______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to