I wanted to better understand the effects of the parameters for the gamma and Erlang distributions. I didn’t quite intuit the effects based on the formulas for the probability density function.

Carefully studying code examples for Plots, I amazingly got this to work first time, modulo font sizing on the leetle, teeny axes.

I did the same thing for the Erlang distribution but trust me, it is pretty similar and the code is identical except for references to the distribution.

I was delighted when it worked.