1

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?

enter image description here

Prradep
  • 5,506
  • 5
  • 43
  • 84
user8491385
  • 413
  • 1
  • 5
  • 17

1 Answers1

2

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)

enter image description here

Prradep
  • 5,506
  • 5
  • 43
  • 84