In a number of instances, I've needed to make minor changes to ggplot output using methods that aren't provided by ggplot parameters themselves. The example below is a good demonstration:
When applying geom_text with position = ggplot2::position_stack() you can't nudge the text left or right. Code is here.
I have limited experience with the grid package and grobs, but my understanding is that I should be able to search the results of grobTree(), find a specific grob, and edit it. In the example above, I'd like to find the "Segment X" text and move it all to the left.
Is this possible and can anyone provide any code related to searching for specific elements and modifying them?