function showLambdas(H, pat, flag)
fDim=[8 7 7  11 11 11 11 11 11 11 11 11 11 11 11 11 11];

for i=1:12,
  if flag ==0,
    subplot(6,2,i);
    cla;
  else
    hold on;
    subplot(6,2,i);
    hold on;
  end;
  p=plot([1:fDim(i)],H(i,1:fDim(i)),pat);
  pp = get(p,'Parent');
  set(pp,'XLim',[1 fDim(i)]);
end;

