function PlotSpectralFeatures(l, s, SFV, X, title)

% PlotSpectralFeatures(lambda, spectrum, SFV, X, title)
%
% SFV = [S1 ... SN, R, G, I];  S1..SN spectral correlation coeffs with gaussians centered
% at X.  R,G,B are red, green and blue indices.

% Liam Pedersen, CMU, 1999

N = length(SFV)-3;
PlotSpectra(l, s,title);
hold on
plot(X,SFV(1:N),'k*');

bar([550 600 650],[0 0 SFV(N+1)],'r');
bar([550 600 650],[0 SFV(N+2) 0],'g');
bar([550 600 650],[SFV(N+3) 0 0],'b');
hold off
