Plotting Discontinuous Data


I have a data source that provides data at certain times during the day - and at that point, ever 5 seconds I have a data point. Then the data will disappear (on purpose) for a few hours, then back on with 5 second samples again.

I want to have the data connected during the periods when the samples are there, but not to draw “connected” for the down time. Is there a way to do this?