:,1:y) = [];
0169     <span class="keyword">end</span>
0170 
0171     <span class="comment">% Only plot if display is keeping up with real time and not paused</span>
0172     show_plot=1;
0173     <span class="keyword">if</span> nargin==0
0174        <span class="keyword">if</span> get(acq.ai, <span class="string">'SamplesAvailable'</span> ) &gt; 10 * acq.samples_per_frame &amp;&amp; acq.pause==0
0175       show_plot=0;
0176        <span class="keyword">end</span>
0177     <span class="keyword">else</span>
