hadley/ggplot2 — Issue #432: Legend on top is displayed above plot title
Author: tikiatua
Created: 2012-03-09 08:18:24+00:00
State: open

If a legend is specified to be displayed on top it is drawn above the plot title.

library("ggplot2")
library("scales")

qplot(mpg, cyl, data=mtcars, geom="point", colour=gear) + opts(title="Test Plot", legend.position="top")

Maybe this could be changed to the behaviour in the 0.8.x version were the legend was below the plot title