The SIR model

gamma represents the infection rate of the disease, beta represents the mean recovery rate.

Note: The functions - based on a differential equation system - were generated with pst-ode (by Alexander Grahn). The animations were generated with the package animate (by Alexander Grahn) and finally converted to *.svg via dvisvgm.

Varying beta

Varying gamma