SNinteraction-2025

This repository contains interactive versions of figures and computational scripts to reproduce the results shown in figures of

P. Ashwin, C. Postlethwaite, J. Sieber (2026), Local interaction of two systems with saddle-node bifurcations: mutualistic and mixed cases.

Interactive figures

(require javascript)

Subfolders:

Instructions

Computations require Matlab

Folder sniceroclinic-coco

  1. Enter folder sniceroclinic-coco.
  2. Execute script run_hill_js.m to perform all computations, before continuation of homclinic orbit is possible. Results will be stored in subfolder data.
  3. Execute run_hom.m. This tracks a large-period periodic orbit in two parameters. The branch spends a long time near rthe SNICeroclinic. Along the branch in the bifurcation diagram an approximate location of the saddle-node and of the saddle gets recorded.
  4. Execute script run_homsnic.m, which tracks the SNICeroclinic in 3 parameters mu, gamma, beta. Results will be stored in subfolder data/homsnic (run is called homsnic).
  5. Execute script run_ncsnic.m to obtain bifurcation curve for non-central SNIC in 3 parameters mu, gamma, beta. Results will be stored in subfolder data/ncsnic (run is called ncsnic).
  6. Execute script run_TB_GH.m to obtain bifurcation curves for Takens-Bogdanov and Bautin points in 3 parameters mu, gamma, beta. Results will be stored in subfolders data/hill_btp_run and data/hill_gh_run.
  7. Execute script animate_hom.m to view animation of time profiles of large-period periodic orbits.
  8. Execute script plot_2dbif_mu_gamma.m to generate plots for Figure 2 and Figure2-Hopf-L1.
  9. Execute script plot_3dbif_mu_gamma_beta.m to generate plots for Figure 5.
  10. Execute script hopf_criticality.m to determine formula for Lyapunov coeffficient of Hopf bifurcation.

Folder MATLAB

Run script hilltop_scan_v11.m to generate the figures.