="comment">% Local smooth of CO2 dataset.</span>
0005 <span class="comment">% Use bivariate fit to capture the two trends.</span>
0006 <span class="comment">%</span>
0007 <span class="comment">% bonus plot: fitted values vs year.</span>
0008 
0009 load co2;
0010 fit = locfit([month year+month/12],co2,<span class="string">'alpha'</span>,0.2,<span class="string">'style'</span>,<span class="string">'an'</span>,<span class="string">'scale'</span>,[6/pi,10]);
0011 
0012 figure(<span class="string">'Name'</span>,