Marching squares: Difference between revisions
m
→{{header|Julia}}: add plotting
(task needs a more complete description -- looking at the current implementations, no image is being generated) |
m (→{{header|Julia}}: add plotting) |
||
Line 26:
points = [(Int(round(ys[i])) - 1, 6 - Int(round(xs[i]))) for i in eachindex(xs)]
@show points
# Plotting
using GLMakie
plt = plot(example)
lines!(xs, ys, linewidth = 8, color = :red)
display(plt)
</lang>{{out}}
<pre>
|