Original example: link.
For a modifiable point .
b = board(xlim=[-5,5], ylim=[-2,20], axis=true)
b ++ point("α", 1, ℯ, label=js"{fontsize:20}")
@jsf f(x) = exp(x * log(valy(α))/valx(α))
b ++ plot(f)
Notes:
you can pass a dictionary of styles via a js
string using js"..."
valy
and valx
return the and coordinate of a point.
Original example: link.
where is controlled by a slider.
b = board(xlim=[-10,10], ylim=[-10,10], axis=true)
b ++ slider("k", [[1,8],[7,8],[0,4,10]])
@jsf f(φ) = 2*sqrt(val(k)/φ)
b ++ plot(f, a=0, b=8π, curvetype="polar")