function plot_by_defect_eyes( gap, data1,data2, info)

figure('name',info ,'numbertitle','off');
temp = squeeze(mean(data1,3));
temp = temp(:,any(temp));
plot([8:0.1:11.8],mean(temp,2),'k','Linewidth',2);hold on;
qq = mean(temp,2);
plot([8:0.2:11.8],qq(1:2:39),'*r');
plot(xlim,[qq(11) qq(11)],'--r');
xlim([8 11.8]);
set(gca,'XTick',[8:0.2:11.8]);
set(gca,'XTickLabelRotation',45);
box off;
ylabel('|FFT|');
xlabel('Frequency');
set(gca,'fontsize',20)
hold off;
end
