[R] xyplot: strip size

Peter Ehlers ehlers at ucalgary.ca
Sun Mar 7 18:04:53 CET 2010


On 2010-03-07 3:12, Hadassa Brunschwig wrote:
> Hi,
>
> I was wondering if there is a way to control
> the strip size in xyplot for example using the
> strip.default function. Or do I need to redraw
> the strips by myself?
>
> I would like to make
> the strip slimmer and I have reduced the font
> size using cex. However, I don't know how
> to change the size of the strip.

  xyplot(Sepal.Length ~ Petal.Length | Species, data=iris)
  xyplot(Sepal.Length ~ Petal.Length | Species, data=iris,
         par.settings = list(layout.heights = list(strip = .5)))

Look at the default settings with

  trellis.par.get()


  -Peter Ehlers

>
> Thanks for any tips.
> Hadassa
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
>
>

-- 
Peter Ehlers
University of Calgary



More information about the R-help mailing list