[R] controlling colour in Trellis histogram

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Oct 1 16:39:45 CEST 2004


On Friday 01 October 2004 09:16, Bill Shipley wrote:
> Hello.  I am sorry for posting a (seemingly) simple question, but I
> have just spent 2 hours trying to find the answer, without success. 
> I want to make a histogram with conditioning on a factor, using
> Trellis graphics.  However, I do not want any colours (only black and
> white) either in the histograms or in the strip.  There must be some
> simple

trellis.device(color = FALSE) 
## assuming you want the default device. 
## See ?trellis.device for more options

histogram(<...>)


Deepayan




More information about the R-help mailing list