Filling bars in barplot with textiles in ggplot2 [duplicate]
问题 This question already has answers here : How to add texture to fill colors in ggplot2 (8 answers) Closed 3 years ago . test <- data.frame(a=c(1,2,3,4), b=c(4,4,4,4)) ggplot(test, aes(x=a, y=b, fill=factor(a)))+geom_bar(stat='identity') but i also want to add texitiles in this plot, something like: Thank you very much 回答1: Hey folks here's a wee hack that addresses the texture issue in a very basic fashion: ggplot2: make the border on one bar darker than the others using R EDIT: I've finally