Patrick Drechsler <[EMAIL PROTECTED]> writes:

> is there a grayscale setting for lattice plots?

Solved using

  ## Set background color of strips to grayscales:
  strip.background <- trellis.par.get("strip.background")
  trellis.par.set(strip.background = list(col = grey(7:1/8)))
  ## Set color of plot symbols to grayscale:
  plot.symbol <- trellis.par.get("plot.symbol")
  trellis.par.set(plot.symbol = list(col = grey(5/8)))

Patrick

______________________________________________
R-help@stat.math.ethz.ch 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