Skip to content

Commit 0cccddb

Browse files
TorkelEDatseris
andcommitted
Update docs/src/catalyst_applications/dynamical_systems.md
Co-authored-by: George Datseris <[email protected]>
1 parent 6beb7e1 commit 0cccddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/catalyst_applications/dynamical_systems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ avr = AttractorsViaRecurrences(ds, grid)
3636
basins, attractors = basins_of_attraction(avr, grid; show_progress = false)
3737
nothing # hide
3838
```
39-
Here, `attractors` is a vector containing the attractors (in this case two fixed points, one at $(0.0,0.0)$ and one at $(4.5,6.0)$). Next, `basins` is a matrix of equal size to `grid`, where each value is an integer describing to which attractor's basin that state belong.
39+
Here, `attractors` is a dictionary that maps attractor labels (the integers) to attractors. In this case we have two fixed points, one at $(0.0,0.0)$ and one at $(4.5,6.0)$. Next, `basins` is a matrix of equal size to `grid`, where each value is an integer describing to which attractor's basin that state belongs.
4040

4141
DynamicalSystems.jl also provide a simple interface for plotting the resulting basins. This uses [Makie.jl](https://docs.makie.org/stable/), and alternative plotting package to [Plots.jl](https://github.com/JuliaPlots/Plots.jl) (which is typically the preferred plotting package within the context of Catalyst). Generally, Makie is good at creating animations or interactive graphics (however, it is also a popular competitor to Plots.jl for normal plotting).
4242
```@example dynamical_systems_basins

0 commit comments

Comments
 (0)