I\'m trying to create a ggplot2 plot with the legend beneath the plot.
The ggplot2 book says on p 112 \"The position and justification of legends are controlled by t
Just a few updates to these answers while I'm here.
As Hadley mentioned, you can move a legend to the bottom with theme(legend.position = "bottom")
Or manually move with it theme(legend.position = c(.2,.85))
If you want the legend to be horizontal, use theme(legend.position = c(.2,.85), legend.direction = "horizontal")