Skip to content

Commit

Permalink
Fix image (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH authored Jun 27, 2024
2 parents d3bdb2e + 9c2b391 commit 6910c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified docs/src/figures/triangulate_curve_bounded_ex_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/src/literate_tutorials/curve_bounded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ t = LinRange(0, 1, 1000)
fig
fig = Figure()
ax = Axis(fig[1, 1])
lines!(ax, [get_point(tri, curve[1][1]...)...], color=:red, label="(1, 2, 3)")
lines!(ax, [get_point(points, curve[1][1]...)...], color=:red, label="(1, 2, 3)")
lines!(ax, curve[1][2][1].(t), color=:red, linestyle=:dashdot, label="EllipticalArc")
lines!(ax, curve[2][1][1].(t), color=:green, label="BSpline")
lines!(ax, [get_point(tri, curve[3][1]...)...], color=:blue, label="(4, 5, 6, 7, 4)")
lines!(ax, [get_point(points, curve[3][1]...)...], color=:blue, label="(4, 5, 6, 7, 4)")
lines!(ax, curve[4][1][1].(t), color=:purple, label="BezierCurve")
lines!(ax, curve[4][2][1].(t), color=:purple, linestyle=:dashdot, label="CatmullRomSpline")
lines!(ax, [get_point(tri, curve[5][1]...)...], color=:orange, label="(12, 11, 10, 12)")
lines!(ax, [get_point(points, curve[5][1]...)...], color=:orange, label="(12, 11, 10, 12)")
lines!(ax, curve[6][1][1].(t), color=:black, label="CircularArc")
fig[1, 2] = Legend(fig, ax, "Curve")
fig
Expand Down

0 comments on commit 6910c27

Please sign in to comment.