s_documentation_01.png" alt=""> <p>We can use <a href="doy_documentation.html"><tt>doy</tt></a> to put this data on a day-of-year axis rather than datetimes:</p><pre class="codeinput">cla;
plot(doy(t), extent_N);
</pre><img vspace="5" hspace="5" src="reshapetimeseries_documentation_02.png" alt=""> <p>But ugh, that wrapping from one year to the next prevents any quick and easy plotting. And we can calculate statistics across years by using <tt>splitapply</tt> or <tt>accumarray</tt>:</p><pre class="codeinput"