Bifurcation diagram for the Lorenz system (local maxima)

Compute the bifurcation, or continuation, diagram for the Lorenz chaotic system through the local maxima method

You are now following this Submission

This code can be used to compute the bifurcation diagram for the Lorenz chaotic system using the local maxima method.
This is alternative method to plotting the points of intersection with a given plane. Here, we only compute the local maxima of a chosen state, and plot them.
The diagram is generated by simulating the system from fixed initial conditions, and after discarding the transient, finding the local peaks of a given state.
The code can be easily adapted to compute a continuation diagram, where after each simulation, the initial condition is set equal to the final value of the previous simulation.
The code can also be easily adapted to any chaotic system, not just the Lorenz. What you need to do is replace the lorenz call in the ode45 with any chaotic system of your choice.
For information on the method, check:
Moysis, L., Lawnik, M., Fragulis, G. F., & Volos, C. (2025). Continuous-Time Density-Colored Bifurcation Diagrams. International Journal of Bifurcation and Chaos, 2530028.
Please cite this work if you use the code.

Cite As

Lazaros Moysis (2026). Bifurcation diagram for the Lorenz system (local maxima) (https://uk.mathworks.com/matlabcentral/fileexchange/158081-bifurcation-diagram-for-the-lorenz-system-local-maxima), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.7

updated links

1.0.6

added video links

1.0.5

added video links

1.0.4

Added video links

1.0.3

changed the description

1.0.2

added links

1.0.1

fixed typos

1.0.0