Add routine to generate a bifurcation diagram.