Plotting a line histogram

Thanks, StatsPlots.density is perfect for the job!

For the theoretical pdfs: yep that’s what I meant (except I’m looking at functions of several random variables, so the distribution is not available in Distributions.jl).