function overplot_times(times, color)
% overplot_times(times, color)
%    Take a set of times in vector <times> and plots them on the
%    current axes as vertical lines in color/style <color>.
%    They are plotted on top of the current figure
%    (e.g. spectrogram).
% 2010-04-13 Dan Ellis [email protected]

ax = axis;

hold on;
plot([times;times],repmat([ax(3);ax(4)],1,length(times)),color);
hold off;