[R] ggplot2: recommended workaround for broken legend.position=top

2009-05-10 Thread Zeljko Vrba
Searching the mail archives I found that using legend.position as in p.ring.3 + opts(legend.position=top) is a known bug. I tried doing p.ring.3 + opts(legend.position=c(0.8, 0.2)) which works, but the legend background is transparent, i.e. I see the plot background through the legend. Adding

Re: [R] ggplot2: recommended workaround for broken legend.position=top

2009-05-10 Thread hadley wickham
On Sun, May 10, 2009 at 10:32 AM, Zeljko Vrba zv...@ifi.uio.no wrote: Searching the mail archives I found that using legend.position as in p.ring.3 + opts(legend.position=top) is a known bug.  I tried doing p.ring.3 + opts(legend.position=c(0.8, 0.2)) which works, but the legend background