title: Pie-chart and legend are overlapping
body: <p>I'm trying to create a pie-chart, like <a href="http://swarm.cs.pub.ro/~laura/pie.png" rel="nofollow">here</a>, but the legend and the actual pie are overlapping.</p>
  
  <p>The code I used is here:</p>
  
  <pre><code>library(ggplot2)
  library(grid)
  
  par(mai = c(1,1,1,1))
  
  numb &lt;- c(41, 30, 21, 8)
  colors &lt;- c("black", "grey70", "grey30","white")
  
  numb_labels &lt;- round(numb/sum(numb) * 100, 1)
  numb_labels &lt;- paste(numb_labels, "%", sep="")
  xx &lt;- c("the process of familiarizing with the codebase",
          "the patch review process",
          "the impact on the users of the project",
          "high degree visibility of the contributions")
  
  pie(numb, col=colors, labels=numb_labels, clockwise=TRUE)
  
  legend("top", legend = xx, fill=colors, bty="n")
  </code></pre>
  
  <p>Can someone help me?</p>