Closed
Description
Feature request:
It would be really useful if annotations could be placed like legends indicating their relative position (legend.placement = c(1,0)
) in the plot area.
Coordinate limits can be extracted after building the plot:
https://gist.github.com/tomhopper/9076152
Being able to do this before building the plot would be a really neat feature, e.g. for placing regression formulae nicely in a corner.
Something like:
g + annotate("text", x = get_xlim()[2], y = get_ylim()[2], label = "y = 3 + 4x")
Metadata
Metadata
Assignees
Labels
No labels