added function to plot sparse sampling of data in disjoint time intervals