0178       <span class="keyword">if</span> elapsed &gt; calctime + 0.5
0179     show_plot=0;
0180       <span class="keyword">end</span>
0181     <span class="keyword">end</span>
0182 
0183     <span class="keyword">if</span> acq.pause
0184        show_plot=0;
0185     <span class="keyword">end</span>
0186     <span class="keyword">if</span> show_plot
0187         
0188         <span class="keyword">if</span>  acq.bgsub
0189             acq.mean_spectra = mean( acq.spectra, 2 );
0190         <span class="ke