How to add y-axis directional labels in ggplot()

Viewed 26

I am trying to replicate something like the plot image below in ggplot() with upper and lower directional labels on the y-axis (labels highlighted for clarity). I would like to use something like geom_label() or geom_text(), but the required x locations are outside of the range of plot values (e.g. x=-10) so that does not work. I see that it can be done using tick labels with custom breaks, but I am already using breaks to set ticks, and I would like these to display more like the axis label, not a tick mark.

Example plot

0 Answers
Related