Given
list={{5, 3}, {9, 5}, {10, 4}, {11, 3}, {13, 3}, {14, 4}}
I want to ListPlot
these points and use Joined
only for those points where the x-values differ by one. So here I would get two line segments {{9, 5}, {10, 4}, {11, 3}}
and {{13, 3}, {14, 4}}
. I tried to add conditions to Joined
but could not get anywhere. Any ideas?