Skip to content

single 3d line

julia
using GLMakie
GLMakie.activate!()
GLMakie.closeall() # close any open screen

t = 0:0.1:15
# and now a simple 3d line
fig = Figure()
ax = LScene(fig[1,1])
lines!(ax, sin.(t), cos.(t), t/4; color = t/4, linewidth = 4,
    colormap = :plasma)
fig