-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisualize_all_systems.jl
141 lines (140 loc) · 6.32 KB
/
visualize_all_systems.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
using ChaoticDynamicalSystemLibrary, OrdinaryDiffEq, Plots
ALL_SYSTEMS = (ChaoticDynamicalSystemLibrary.Aizawa,
ChaoticDynamicalSystemLibrary.AnishchenkoAstakhov,
ChaoticDynamicalSystemLibrary.Arneodo,
ChaoticDynamicalSystemLibrary.ArnoldBeltramiChildress,
ChaoticDynamicalSystemLibrary.ArnoldWeb,
ChaoticDynamicalSystemLibrary.AtmosphericRegime,
ChaoticDynamicalSystemLibrary.BeerRNN,
ChaoticDynamicalSystemLibrary.BelousovZhabotinsky,
ChaoticDynamicalSystemLibrary.BickleyJet,
ChaoticDynamicalSystemLibrary.Blasius,
ChaoticDynamicalSystemLibrary.BlinkingRotlet,
ChaoticDynamicalSystemLibrary.BlinkingVortex,
ChaoticDynamicalSystemLibrary.Bouali,
ChaoticDynamicalSystemLibrary.Bouali2,
ChaoticDynamicalSystemLibrary.BurkeShaw,
ChaoticDynamicalSystemLibrary.CaTwoPlus,
ChaoticDynamicalSystemLibrary.CaTwoPlusQuasiperiodic,
ChaoticDynamicalSystemLibrary.CellCycle,
ChaoticDynamicalSystemLibrary.CellularNeuralNetwork,
ChaoticDynamicalSystemLibrary.Chen,
ChaoticDynamicalSystemLibrary.ChenLee,
ChaoticDynamicalSystemLibrary.Chua,
ChaoticDynamicalSystemLibrary.CircadianRhythm,
ChaoticDynamicalSystemLibrary.CoevolvingPredatorPrey,
ChaoticDynamicalSystemLibrary.Colpitts,
ChaoticDynamicalSystemLibrary.Coullet,
ChaoticDynamicalSystemLibrary.Dadras,
ChaoticDynamicalSystemLibrary.DequanLi,
ChaoticDynamicalSystemLibrary.DoubleGyre,
ChaoticDynamicalSystemLibrary.DoublePendulum,
ChaoticDynamicalSystemLibrary.Duffing,
ChaoticDynamicalSystemLibrary.ExcitableCell,
ChaoticDynamicalSystemLibrary.Finance,
ChaoticDynamicalSystemLibrary.FluidTrampoline,
ChaoticDynamicalSystemLibrary.ForcedBrusselator,
ChaoticDynamicalSystemLibrary.ForcedFitzHughNagumo,
ChaoticDynamicalSystemLibrary.ForcedVanDerPol,
ChaoticDynamicalSystemLibrary.GenesioTesi,
ChaoticDynamicalSystemLibrary.GuckenheimerHolmes,
ChaoticDynamicalSystemLibrary.Hadley,
ChaoticDynamicalSystemLibrary.Halvorsen,
ChaoticDynamicalSystemLibrary.HastingsPowell,
ChaoticDynamicalSystemLibrary.HenonHeiles,
ChaoticDynamicalSystemLibrary.HindmarshRose,
ChaoticDynamicalSystemLibrary.Hopfield,
ChaoticDynamicalSystemLibrary.HyperBao,
ChaoticDynamicalSystemLibrary.HyperCai,
ChaoticDynamicalSystemLibrary.HyperJha,
ChaoticDynamicalSystemLibrary.HyperLorenz,
ChaoticDynamicalSystemLibrary.HyperLu,
ChaoticDynamicalSystemLibrary.HyperPang,
ChaoticDynamicalSystemLibrary.HyperQi,
ChaoticDynamicalSystemLibrary.HyperRossler,
ChaoticDynamicalSystemLibrary.HyperWang,
ChaoticDynamicalSystemLibrary.HyperXu,
ChaoticDynamicalSystemLibrary.HyperYan,
ChaoticDynamicalSystemLibrary.HyperYangChen,
ChaoticDynamicalSystemLibrary.IsothermalChemical,
ChaoticDynamicalSystemLibrary.ItikBanksTumor,
ChaoticDynamicalSystemLibrary.JerkCircuit,
ChaoticDynamicalSystemLibrary.KawczynskiStrizhak,
ChaoticDynamicalSystemLibrary.Laser,
ChaoticDynamicalSystemLibrary.LidDrivenCavityFlow,
ChaoticDynamicalSystemLibrary.Lorenz,
ChaoticDynamicalSystemLibrary.Lorenz84,
ChaoticDynamicalSystemLibrary.Lorenz96,
ChaoticDynamicalSystemLibrary.LorenzBounded,
ChaoticDynamicalSystemLibrary.LorenzCoupled,
ChaoticDynamicalSystemLibrary.LorenzStenflo,
ChaoticDynamicalSystemLibrary.LiuChen,
ChaoticDynamicalSystemLibrary.LuChen,
ChaoticDynamicalSystemLibrary.LuChenCheng,
ChaoticDynamicalSystemLibrary.MacArthur,
ChaoticDynamicalSystemLibrary.MooreSpiegel,
ChaoticDynamicalSystemLibrary.MultiChua,
ChaoticDynamicalSystemLibrary.NewtonLiepnik,
ChaoticDynamicalSystemLibrary.NoseHoover,
ChaoticDynamicalSystemLibrary.NuclearQuadrupole,
ChaoticDynamicalSystemLibrary.OscillatingFlow,
ChaoticDynamicalSystemLibrary.PanXuZhou,
ChaoticDynamicalSystemLibrary.PehlivanWei,
ChaoticDynamicalSystemLibrary.Qi,
ChaoticDynamicalSystemLibrary.QiChen,
ChaoticDynamicalSystemLibrary.RabinovichFabrikant,
ChaoticDynamicalSystemLibrary.RayleighBenard,
ChaoticDynamicalSystemLibrary.RikitakeDynamo,
ChaoticDynamicalSystemLibrary.Rossler,
ChaoticDynamicalSystemLibrary.Rucklidge,
ChaoticDynamicalSystemLibrary.Sakarya,
ChaoticDynamicalSystemLibrary.SaltonSea,
ChaoticDynamicalSystemLibrary.SanUmSrisuchinwong,
ChaoticDynamicalSystemLibrary.ShimizuMorioka,
ChaoticDynamicalSystemLibrary.SprottA,
ChaoticDynamicalSystemLibrary.SprottB,
ChaoticDynamicalSystemLibrary.SprottC,
ChaoticDynamicalSystemLibrary.SprottD,
ChaoticDynamicalSystemLibrary.SprottE,
ChaoticDynamicalSystemLibrary.SprottF,
ChaoticDynamicalSystemLibrary.SprottG,
ChaoticDynamicalSystemLibrary.SprottH,
ChaoticDynamicalSystemLibrary.SprottI,
ChaoticDynamicalSystemLibrary.SprottJ,
ChaoticDynamicalSystemLibrary.SprottJerk,
ChaoticDynamicalSystemLibrary.SprottK,
ChaoticDynamicalSystemLibrary.SprottL,
ChaoticDynamicalSystemLibrary.SprottM,
ChaoticDynamicalSystemLibrary.SprottMore,
ChaoticDynamicalSystemLibrary.SprottN,
ChaoticDynamicalSystemLibrary.SprottO,
ChaoticDynamicalSystemLibrary.SprottP,
ChaoticDynamicalSystemLibrary.SprottQ,
ChaoticDynamicalSystemLibrary.SprottR,
ChaoticDynamicalSystemLibrary.SprottS,
ChaoticDynamicalSystemLibrary.SprottTorus,
ChaoticDynamicalSystemLibrary.StickSlipOscillator,
ChaoticDynamicalSystemLibrary.SwingingAtwood,
ChaoticDynamicalSystemLibrary.Thomas,
ChaoticDynamicalSystemLibrary.Torus,
ChaoticDynamicalSystemLibrary.Tsucs2,
ChaoticDynamicalSystemLibrary.TurchinHanski,
ChaoticDynamicalSystemLibrary.VallisElNino,
ChaoticDynamicalSystemLibrary.WangSun,
ChaoticDynamicalSystemLibrary.WindmiReduced,
ChaoticDynamicalSystemLibrary.YuWang,
ChaoticDynamicalSystemLibrary.YuWang2,
ChaoticDynamicalSystemLibrary.ZhouChen)
wait_for_key(prompt) = (print(stdout, prompt); read(stdin, 1); nothing)
for system in ALL_SYSTEMS
@info "$system"
prob = system()
# sol = solve(prob, Tsit5(), tspan=(0, 1000))
sol = solve(prob, Tsit5(), abstol = 1e-7, reltol = 1e-5)
# p = plot(sol)
p = plot(sol, layout = (length(sol.u[1]), 1), xlabel = "", xticks = false,
color = collect(1:length(sol.u[1]))', legend = false,
title = [i == 1 ? "$system" : "" for i in 1:length(sol.u[1])] |> permutedims)
display(p)
wait_for_key("Press any key to continue")
end