Code for all figures for The Theory of Ecological Communities