ies(t, x, 'bin', nbin)
[xg, yr] = reshapetimeseries(t, x, 'bin', 'date')
[xg, yr] = reshapetimeseries(t, x, 'bin', 'month')
[xg, yr] = reshapetimeseries(t, x, 'func', @func)
[xg, yr] = reshapetimeseries(t, x, 'yrlim', yrlim)
[xg, yr] = reshapetimeseries(t, x, 'pivotdate, [mon day])</pre><h2 id="2">Description</h2><p><tt>[xg, yr] = reshapetimeseries(t, x)</tt> reshapes a timeseries <tt>x</tt> defined by time <tt>t</tt> onto a date-of-year by year grid.  If the original timeseries is has higher than daily res