 = X;
0054     X_sub(ismember(month_vec,subperiod)) = NaN;
0055 <span class="keyword">else</span>
0056     error(<span class="string">'Subperiod option specified incorrectly, the options are delete or nan.'</span>)
0057 <span class="keyword">end</span>
0058 
0059 <span class="comment">%{</span>
0060 figure; hold on;
0061 plot(t,X);
0062 plot(t_sub,X_sub,<span class="string">'--'</span>)
0063 xlabel(<span class="string">'Date'</span>)
0064 ylabel(<span class="string">'Flow'</span>)
0065 <span class="comment"