title: Plot Lognormal Probability Density in R
body: <p>I am trying to generate a plot for Lognormal Probability Density in R, with 3 different means log and standards deviation log. I have tried the following, but my graph is so ugly and does not look good at all. </p>
  
  <pre><code> x&lt;- seq(0,10,length = 100)
   a &lt;- dlnorm(x, meanlog = 0, sdlog = 1, log = FALSE)
   b &lt;- dlnorm(x, meanlog = 0, sdlog = 1.5, log = FALSE)
   g &lt;- dlnorm(x, meanlog = 1.5, sdlog = 0.2, log = FALSE)
   plot(x,a, lty=5, col="blue", lwd=3)
   lines(x,b, lty=2, col = "red")
   lines(x,g, lty=4, col = "green")
  </code></pre>
  
  <p>I even was trying to add legend on the right top for each mean log and standard deviation log, but it would not work with me. I was wondering if someone could guide me out with that. </p>
  
  <p><a href="https://i.stack.imgur.com/lNTVw.png" rel="nofollow noreferrer">Right top of the graph</a></p>