From fd65e3605ad62b9ac8ca736b306f20e077852cd3 Mon Sep 17 00:00:00 2001 From: mvainstein <53003800+mvainstein@users.noreply.github.com> Date: Thu, 11 Aug 2022 23:24:20 +0200 Subject: [PATCH 1/2] Update dynamicalsystems.md Corrected the name of the variable from `paramvals` to `slidervals` in line 61 --- docs/src/dynamicalsystems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/dynamicalsystems.md b/docs/src/dynamicalsystems.md index 95f943ac..5a363822 100644 --- a/docs/src/dynamicalsystems.md +++ b/docs/src/dynamicalsystems.md @@ -58,7 +58,7 @@ u0s = [u1, u3] idxs = (1, 2, 3) diffeq = (alg = Tsit5(), dt = 0.01, adaptive = false) -figure, obs, step, paramvals = interactive_evolution( +figure, obs, step, slidervals = interactive_evolution( ds, u0s; ps, idxs, tail = 1000, diffeq, pnames, lims ) From 6f91e014cdcdb23d53231d6788382f7a61a0a2dd Mon Sep 17 00:00:00 2001 From: mvainstein <53003800+mvainstein@users.noreply.github.com> Date: Thu, 11 Aug 2022 23:27:35 +0200 Subject: [PATCH 2/2] Update dynamicalsystems.md Change `markersize` to 20, because it was too big. --- docs/src/dynamicalsystems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/dynamicalsystems.md b/docs/src/dynamicalsystems.md index 5a363822..ebfd09f9 100644 --- a/docs/src/dynamicalsystems.md +++ b/docs/src/dynamicalsystems.md @@ -70,7 +70,7 @@ lorenzfp(ρ,β) = [ fpobs = lift(lorenzfp, slidervals[2], slidervals[3]) ax = content(figure[1,1][1,1]) -scatter!(ax, fpobs; markersize = 5000, marker = :diamond, color = :black) +scatter!(ax, fpobs; markersize = 20, marker = :diamond, color = :black) ``` Notice that the last part of the code plots the fixed points of the system (something `interactive_evolution` does not do by itself), and the fixed points plots are automatically updated when a parameter is changed in the GUI, because it uses the observable `paramvals`.