LagrangianDescriptors.jl is a Julia package for painting the phase portrait of dynamical systems with the method of Lagrangian descriptors, which reveals singular features of the dynamics, such as stable and unstable manifolds, by coloring each initial condition according to the solution through it. It provides
- Lagrangian descriptors of ordinary, random and stochastic differential equations, given as
ODEProblems,RODEProblems andSDEProblems of the SciML ecosystem, forward and backward in time. - Descriptors given by the integral of any infinitesimal descriptor along the solutions, or by the increments of the solutions, as for stochastic equations.
- Means over realizations of the noise, with independent noise for each initial condition, or with the same noise path for all of them.
- Stopping solutions that diverge, separately in each direction of time.
- Plots with Plots.jl or Makie.jl, as heatmaps of grids of initial conditions, scatter plots of other collections, two-dimensional slices of higher-dimensional systems, or in three dimensions, e.g. as surfaces of initial conditions.
The package is not registered yet. To install it, run import Pkg; Pkg.add(url = "https://github.com/JuliaDynamics/LagrangianDescriptors.jl").
All further information is provided in the documentation, which you can find online or build locally by running the docs/make.jl file.

