I'm currently working with a stacked horizontal bar graph chart using ggplot2 in R.
This is my R code:
ggplot(results, aes(x=Protocol, y=Time, fill=Phase)) +
geom_bar(stat="identity") + coord_flip()
And it produces this graph:
![Example Graph](https://i.imgur.com/5xShfif.jpg)
I want to center this chart so that Phase 1 and 2 are on the left and Phase 3 and 4 are on the right.
Here is a rough idea of what I'm looking for. But imagine the center line is time 0, and time goes positive in either direction:
![Example of Goal](https://i.imgur.com/WA6vNq2.jpg)
I'm thinking I should make two graphs back to back?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…