How to add texture to fill colors in ggplot2?
Posted
by rhh
on Stack Overflow
See other posts from Stack Overflow
or by rhh
Published on 2010-05-24T07:07:32Z
Indexed on
2010/05/24
7:11 UTC
Read the original article
Hit count: 349
I'm currently using scale_brewer for fill and these look beautiful in color (on screen and via color printer) but print relatively uniformly as greys when using a black and white printer. I searched the online ggplot2 documentation but didn't see anything about adding textures to fill colors. Is there an official ggplot2 way to do this or does anyone have a hack that they use? By textures I mean things like diagonal bars, reverse diagonal bars, dot patterns, etc that would differentiate fill colors when printed in black and white.
Thanks for thoughts!
Robert
© Stack Overflow or respective owner