How to create a slider of a point in a graph

for example:
I plotted this graph

using Plots
xs = [x₁, x₂]
ys = [y₁, y₂]
plot(xs, ys)


how can I make slider for the points (Xs,Xy) ?

thank you

I’m unsure what you mean. Do you mean a slider like the ones available in PlutoUI (GitHub - fonsp/PlutoUI.jl)?

1 Like