Curve that touches three points: Difference between revisions

Content added Content deleted
Line 88: Line 88:
scene = lines(x, y0 .+ b, color = :red)
scene = lines(x, y0 .+ b, color = :red)
lines!(scene, x, b .- y0, color = :red)
lines!(scene, x, b .- y0, color = :red)
scatter!(scene, [p.x for p in allp], [p.y for p in allp], color = :black)
scatter!(scene, [p.x for p in allp], [p.y for p in allp], markersize = r / 10)
</lang>{{out}}
</lang>{{out}}
<pre>
<pre>