Hi, I want to put spaces between each pair of bars in my barplot.
This is my code
ggplot(Germ, aes(x = G, y = T,
color = c('WT', 'at5g01950')[2 - (as.numeric(G) %% 2)])) +
geom_bar(position="dodge", stat="identity") +
geom_boxplot(width = 0.5, color = "black", alpha = 0.2,
position = position_dodge(0.9)) +
theme_minimal() +
theme(plot.background = element_rect(fill = "white") ,
panel.grid.minor = element_blank()) +
labs(color = '')
This is my barplot
It would be nice to add the space of a bar, or even less, bewteen, for example, bars pairs 1,2 and 3,4, and so on.
Thank you
Why is it that you thanked me for the post that told you to search online, then deleted it and asked a similar question? You see how the other users here has also asked you to search online, right? Please stop this behavior.