I just can't run the example available here https://juliadynamics.github.io/InteractiveDynamics.jl/dev/cobweb/
I copied and pasted this code into a file called "example_cobweb.jl" and when I run it doesn't work. I've already tried ]build GLMakie
.
using InteractiveDynamics, GLMakie, DynamicalSystems
# the second range is a convenience for intermittency example of logistic
rrange = 1:0.001:4.0
# rrange = (rc = 1 + sqrt(8); [rc, rc - 1e-5, rc - 1e-3])
lo = Systems.logistic(0.4; r=rrange[1])
interactive_cobweb(lo, rrange, 5)
What can I do?
I think the answer here is that you need to install the packages
GLMakie, Makie, CairoMakie.
So if you go into julia and tap the "]" key to open the package manager and typeadd GLMakie, Makie, CairoMakie.
.It looks like from the pictures, that you tried to install
GLMakie
already. Perhaps you can try this.update
command from the package manager prompt.using Pkg; Pkg.precompile()
That might cover all the bases.