Hacker News new | ask | show | jobs
by mike_ivanov 2753 days ago
"but theoretically you could flip the axes and the shape of the chart would still be true."

I'm not sure what you mean. I just have tried literally what you have suggested, and of course it is not true. Here's the code:

    x <- rnorm(1000)
    h <- hist(x, breaks = 100)
    plot(h$counts, h$mid)
Am I missing something obvious?