Peculiarity with plotting `seriestype = :straightlines`

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
1 Like