ModelQualitative.m - code for qualitative analysis (equilibrium points, stability conditions)
HeatMapFigs.m - code for creating heat map/contour plot figures of P* for main text (Fig 3) and SI (Figs S1-4)
GradientFigs.m - code for creating heat map figure of dP*/df for main text (Fig 4)
EcoOutcomeFig.m - code for creating figure of stable ecological outcomes (steady states) in (apc,acp)-space for SI (Fig S5)
NumSimFig.m - code for creating numerical simulation figures for main text (Fig 5)
OptimizationFig.m - code for illustrating optimization process (costs/benefits) for SI (Fig S6)