[R] Patterned shading in ggplot

2009-11-04 Thread Paul Chatfield
Am trying to produce a graph which prints out well in black and white using ggplot2. I have the following example set up nicely, but want to shade the red bars in one pattern and the blue in another so they print out clearly. I tried changing colours to 1 light, 1 dark, but then the overlapping

Re: [R] Patterned shading in ggplot

2009-11-04 Thread hadley wickham
Hi Paul, You might want to try the gray colour scale - scale_fill_grey() Unfortunately grid (the underlying graphics library that ggplot2 uses) does not currently support patterns. Hadley On Wed, Nov 4, 2009 at 4:17 AM, Paul Chatfield p.s.chatfi...@rdg.ac.uk wrote: Am trying to produce a