Can be visualized clustering with the heatmap()?

You can draw the lines as usual using plot(xs, ys) where xs and ys are vectors of x and y coordinates. Use NaNs to break the lines into disjoint pieces.

1 Like