[R] Lattice key title color

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Oct 15 18:53:53 CEST 2008


On 10/15/08, Dieter Menne <dieter.menne at menne-biomed.de> wrote:
> Gabor Grothendieck <ggrothendieck <at> gmail.com> writes:
>
>  > str(trellis.par.get())
>
>  Never thought of that. Really nice.

There's also

http://lmdvr.r-forge.r-project.org/figures/figures.html?chapter=07;figure=07_03

All of which doesn't really answer the original question. Searching in
page(draw.key) reveals the following snippet:

        if (!is.null(key$title))
            key.gf <- placeGrob(key.gf, textGrob(label = key$title,
                gp = gpar(cex = key$cex.title, lineheight = key$lineheight)),
                row = 1, col = NULL)

So, the title color cannot be currently specified, either directly or
through the settings system.

-Deepayan



More information about the R-help mailing list