 days worth of data in leap years.</p><p><tt>[xg, yr] = reshapetimeseries(t, x, 'bin', 'date')</tt> <tt>[xg, yr] = reshapetimeseries(t, x, 'bin', 'month')</tt> These two special options for the 'bin' property allow for bins that align with calendar dates rather than evenly dividing each year.  The 'date' option (the default option when no 'bin' value is specified) bins data from Feb 28-29 together, resulting in 365 bins per year that align with calendar dates, even in leap years.  'month' bins data by calen