HNY.
Starting with your lines data, you could simply do:
X, Y = first.(lines), last.(lines)
plot(X, Y, c=:blue, st=:straightline) # straigthline not needed
HNY.
Starting with your lines data, you could simply do:
X, Y = first.(lines), last.(lines)
plot(X, Y, c=:blue, st=:straightline) # straigthline not needed