I\'m trying to get ggplot2 plot with reversed y-axis and x-axis on top. I used scale_y_reverse() to get reversed y-axis but could not figured out h
ggplot2
scale_y_reverse()
If you don't want to switch to ggvis just yet, the ggdraw(switch_axis_position(p1 , axis = 'x')) function of the cowplot package works very well.
ggdraw(switch_axis_position(p1 , axis = 'x'))
cowplot
https://cran.r-project.org/web/packages/cowplot/vignettes/axis_position.html