Generating polygon boundaries for plotting simple time series data with missing data