Because it curve does not work with histogram? : <p>I have no idea why this simple command does not work?</p>

<pre><code>    set.seed(12345)
    x&lt;-rnorm(1000,0,10)
    hist(x)
    curve(dnorm(x,0, 10), add=TRUE, yaxt="n", col="red", log=FALSE)
</code></pre>
