title: Line width in legend?
body: <p>I want to change the width of the line in the legend. Currently I have:</p>
  
  <pre><code>legend(-0.145, 25, c("(Gaussian) Kernel density","fitted normal distribution"),lwd=1.8, cex=0.8, 
     col=c("black","black"), lty=1:2)
  </code></pre>
  
  <p>lwd seems to change the text, but not the width of the line and of the dotted line, how can I do this?</p>