[R] bwplot(): Can Panel Heading Span Two Lines?

David Winsemius dwinsemius at comcast.net
Mon Sep 10 22:29:07 CEST 2012


On Sep 10, 2012, at 11:35 AM, Rich Shepard wrote:

>  A conditioning factor for bwplot() is the stream name. There are 17
> streams so each panel is comparatively small and the names in the panel
> header are truncated at both ends. I would like to wrap the names on two
> lines for each panel but do not see if this can be done when I look at the
> online docs (?bwplot) or the Lattice book. Is there a way to fit long
> strings as headers with multiple panels on a page?

The text that appears in the "panel header" is called the "strip". I didn't see it in the help page for bwplot. You need to look at:

 ?strip.custom.

And since you have the Lattice book look at section 10.7 'Controlling the appearance of strips"

-- 

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list