Reputation: 23898
As ggplot2
produces nice colored graphs but sometimes it is required to have black and white graphs with pattern fills. I wonder how to do this in ggplot2
, say for this code:
ggplot(diamonds, aes(cut, fill=cut)) + geom_bar()
Edit
Is there any function in R
to do pattern fills for graphs?
Upvotes: 11
Views: 14914