Awesome! BTW: you can plot the ODE solution directly, via:
fig, ax, plt = lines(sol; idxs = (1, 2, 3), axis = (; type = Axis3), plotdensity = 10000, color = 1:10000, colormap = :plasma, transparency = true)
Awesome! BTW: you can plot the ODE solution directly, via:
fig, ax, plt = lines(sol; idxs = (1, 2, 3), axis = (; type = Axis3), plotdensity = 10000, color = 1:10000, colormap = :plasma, transparency = true)
because it changes the axis type, which isnāt implemented in jsā¦ if you remove that it should be back.
Like this?
prob = ODEProblem(lorenz!, u0, tspan)
sol = solve(prob)
fig, ax, plt = lines(
sol; idxs = (1, 2, 3),
plotdensity = 10000,
color = 1:10000,
colormap = :plasma,
transparency = true
)
Then it becomes 2D and and the interactivity is still lost
Oh, I guess recognizing the 3d output isnāt implemented for that recipe.
Youāll need axis = (; type = LScene)
.
Maybe worth opening an issue referencing:
Makie.preferred_axis_type(plot::MyPlot)
That works great!
That would be an issue in the Makie.jl repository?
No, wherever the ODEProblem recipes live.
Seems to be here?
If itās as simple as adding Makie.preferred_axis_type(plot::MyPlot)
I could make a PR for that.
The issue here is that we return a PlotSpecā¦so args_preferred_axis
doesnāt work.
Ok Iāll just make the issue then