Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Plots.GRBackend()

Convenience functions to plot gradients of the ODEs.

normalize_gradient (generic function with 1 method)

Fig 4.2 A

Build system: 15.292220 seconds (29.98 M allocations: 1.652 GiB, 4.33% gc time, 99.88% compilation time: 2% of which was recompilation)
Loading...
Build problem: 72.882595 seconds (79.21 M allocations: 4.424 GiB, 2.84% gc time, 99.95% compilation time: 63% of which was recompilation)
5-element Vector{Vector{Float64}}: [0.0, 0.0] [0.5, 0.6] [0.17, 1.1] [0.25, 1.9] [1.85, 1.7]
  2.038877 seconds (3.67 M allocations: 204.579 MiB, 99.69% compilation time)
Plot{Plots.GRBackend() n=2}

Fig. 4.2 B (Phase plot)

Plot{Plots.GRBackend() n=1}

Fig. 4.3 A (Multiple time series)

Plot{Plots.GRBackend() n=10}

Fig. 4.3 B (Phase plot)

Plot{Plots.GRBackend() n=5}

Fig. 4.4 A

Let’s sketch vector fields in phase plots.

Plot{Plots.GRBackend() n=26}

Figure 4.5A

Nullclines

Plot{Plots.GRBackend() n=9}

Figure 4.5 B

Vector field with nullclines.

Plot{Plots.GRBackend() n=25}

Fig 4.7 A

Symmetric (bistable) biological networks.

Build system: 0.000657 seconds (1.42 k allocations: 54.086 KiB)
Loading...
Build problem: 0.635594 seconds (1.46 M allocations: 82.705 MiB, 13.08% gc time, 98.37% compilation time)
  0.517496 seconds (711.17 k allocations: 39.032 MiB, 99.66% compilation time)
  3.614998 seconds (3.06 M allocations: 166.993 MiB, 99.75% compilation time)
Plot{Plots.GRBackend() n=4}

Fig 4.7 B

Vector field with nullclines

Plot{Plots.GRBackend() n=25}

Fig 4.8 A

Symmetric parameter set

  0.000437 seconds (1.64 k allocations: 99.469 KiB)
  0.003393 seconds (11.15 k allocations: 605.539 KiB)
Plot{Plots.GRBackend() n=4}

Fig 4.8 B

Nullclines and vector field

Plot{Plots.GRBackend() n=25}

Fig 4.8 C

Around the unstable steady-state.

Plot{Plots.GRBackend() n=15}

Another way to draw nullclines is to find the analytical solutions for dA (or dB) is zero. And then sketch the nullclines in a parameteric plot.

Plot{Plots.GRBackend() n=8}

Fig 4.11

Surface plots

Plot{Plots.GRBackend() n=4}

Fig 4.15 A

Oscillatory networks

Plots.GRBackend()
Build system: 0.037549 seconds (8.67 k allocations: 408.328 KiB, 97.59% compilation time: 30% of which was recompilation)
Loading...
Build problem: 0.318048 seconds (436.89 k allocations: 25.868 MiB, 98.22% compilation time)
Solve problems: 1.187511 seconds (1.18 M allocations: 64.945 MiB, 98.66% compilation time)
Plot{Plots.GRBackend() n=2}

Fig 4.15 B

Vector field with nullclines

Plot{Plots.GRBackend() n=29}

Fig 4.16 A

Oscillatory parameter set

Solve problems: 0.106221 seconds (286.83 k allocations: 12.347 MiB, 63.28% compilation time)
Plot{Plots.GRBackend() n=2}

Fig 4.16 B

Plot{Plots.GRBackend() n=29}

Fig 4.17

  0.000732 seconds (4.19 k allocations: 212.289 KiB)
Plot{Plots.GRBackend() n=26}

Fig 4.18

Continuation diagram.

See also BifurcationKit.jl for a more robust continuation diagram.

Build system: 0.000752 seconds (1.45 k allocations: 55.203 KiB)
Loading...
Build problem: 3.046281 seconds (3.62 M allocations: 207.035 MiB, 1.88% gc time, 99.36% compilation time)
SteadyStateProblem with uType Vector{Float64}. In-place: true u0: 2-element Vector{Float64}: 0.0 0.0
Fetching long content....
Plot{Plots.GRBackend() n=1}

Fig 4.22

Tangent line.

Plot{Plots.GRBackend() n=2}

This notebook was generated using Literate.jl.