Is it possible to overlay the legend on the graph area with GGPlot? The legend is set be default to the left of the graph area, but I would like to position it like the figure shows.
Asked
Active
Viewed 6,040 times
1 Answers
0
ggplot2 documentation on the subject plot+theme(legend.position = c(.5, .5))
with the appropriate coordinates should do it.

Haboryme
- 4,611
- 2
- 18
- 21
-
2This is more like a comment, also the post was marked as duplicate, avoid answering dupe posts. – zx8754 Sep 13 '16 at 10:14