[R] lattice grayscale "theme"
    Patrick Drechsler 
    patrick at pdrechsler.de
       
    Mon Jul 30 19:07:51 CEST 2007
    
    
  
Patrick Drechsler <patrick at pdrechsler.de> 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
    
    
More information about the R-help
mailing list