Reputation: 453
Is there any way I can make these colour more obvious in my geom_bar
ggplot
graph? In particular the blue / green ones. Also is there a way to have a white line/space between the colors as the top and bottom ones do?
Upvotes: 1
Views: 254
Reputation: 5716
colour = "white"
should help you differentiate the colours. If not, then increase size=2
. For example:
library(vcd)
data(Arthritis)
ggplot(Arthritis, aes(x = Treatment, fill = Improved)) +
geom_bar(colour = "white", size=2)
Upvotes: 2