Is there a simple way to specify a theme or trellis (lattice) parameters so
that, in a multipanel (conditioned) plot, there is no color and in the
strips there is no shading? This is the effect achieved on page 124 of
Deepayan Sarkar's "Lattice" (figure 7.2).
I managed to trick lattice into making a grayscale plot on my interactive
display as follows:

> graphics.off()
> postscript("junk.ps")
> mystuff<-trellis.par.get()
> graphics.off()
> trellis.par.set(mystuff)

Then when I made a multipanel (conditioned) plot, at least there was no
color, but the strips contained gray shading. Is this the "black and white
theme"? If one wants strips with white background (no shading), as in the
example cited above, must one go deeper into the details of the settings or
write one's own panel or strip function?

Thanks for any info.

> sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] lattice_0.17-17

loaded via a namespace (and not attached):
[1] Matrix_0.999375-21 boot_1.2-34        grid_2.8.1
lme4_0.999375-28
>

Jacob A. Wegelin
Assistant Professor
Department of Biostatistics
Virginia Commonwealth University
730 East Broad Street Room 3006
P. O. Box 980032
Richmond VA 23298-0032
U.S.A.
E-mail: jwege...@vcu.edu
URL: http://www.people.vcu.edu/~jwegelin

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to