Dear All

Below is a toy example of a modified standard bwplot.

require(lattice)
DF <-
data.frame(site = rep(1:5, each = 20),
           height = rnorm(100))

bwplot(site ~ height,DF,
pch = "|",
par.settings = list(strip.background = list(col = "transparent"),
  box.rectangle = list(col = "grey70",lty = 1),
  box.umbrella = list(col = "grey70",lty = 1),
  plot.symbol = list(alpha = 1,col = "grey70",cex = 1,pch = 20),
  superpose.symbol = list(cex = rep(0.7, 7),col = "black", pch = rep(20,7)))
)

The help guide shows that pch = "|" is a special case.
This give me a line across the box which is what I want but how do I make it thicker and red.

Regards

Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email home: mac...@northnet.com.au

______________________________________________
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