Plot distribution of distances between motifs