function overplot_times(times, color) % overplot_times(times, color) % Take a set of times in vector and plots them on the % current axes as vertical lines in color/style . % They are plotted on top of the current figure % (e.g. spectrogram). % 2010-04-13 Dan Ellis dpwe@ee.columbia.edu ax = axis; hold on; plot([times;times],repmat([ax(3);ax(4)],1,length(times)),color); hold off;