Hi all,
I try this GitHub - JuliaGizmos/Interact.jl: Interactive widgets to play with your Julia code
this is the code:
using Interact, DynamicalSystems, Plots
@manipulate for px=0:0.01:.3, py=0:0.01:.3,
plane = Dict("x=0" => 1, "y=0" => 2)
psos = poincaresos(
Systems.henonheiles(),
(plane, 0), 10000;
u0 = [0., 0., px, py])
vbox(vskip(1em),
md"*Poincaré surface of section of Hénon–Heiles system*",
vskip(1em),
scatter(psos[:, [2,1][plane]], psos[:, [4,3][plane]],
linewidth=0.1, markersize=2, markerstrokewidth=0,
xlimit=[-1/3,1/3], ylimit=[-1/3,1/3],
markercolor="#F35700"))
end
and then the plot shows but there is no interactive slider there: