function varmeanplotter(varmeans, which)

if which==9
figure;
for i=1:9
subplot(3,3,i)   
scatter (varmeans.NPmeanNP2_10tw10(i,1:72) , varmeans.NPvarNP2_10tw10(i,1:72));
title(['NProbes=', num2str(i+1), '   TW=10'])
end
figure;
for i=1:9
subplot(3,3,i)   
scatter (varmeans.NPmeanNP2_10tw12(i,1:72) , varmeans.NPvarNP2_10tw12(i,1:72));
title(['NProbes=', num2str(i+1), '   TW=12'])
end

figure;
for i=1:9
subplot(3,3,i)   
scatter (varmeans.NPmeanNP2_10tw15(i,1:72) , varmeans.NPvarNP2_10tw15(i,1:72));
title(['NProbes=', num2str(i+1), '   TW=15'])
end
figure;
for i=1:9
subplot(3,3,i)   
scatter (varmeans.NPmeanNP2_10tw20(i,1:72) , varmeans.NPvarNP2_10tw20(i,1:72));
title(['NProbes=', num2str(i+1), '   TW=20'])
end

elseif which==11
    
    figure;
for i=1:11
subplot(3,4,i)   
scatter (varmeans.NPmeanTW5_15np5(i,1:72) , varmeans.NPvarTW5_15np5(i,1:72));
title(['TimeWindow=', num2str(i+4), '   NP=5'])
end
figure;
for i=1:11
subplot(3,4,i)   
scatter (varmeans.NPmeanTW5_15np6(i,1:72) , varmeans.NPvarTW5_15np6(i,1:72));
title(['TimeWindow=', num2str(i+4), '   NP=6'])
end

figure;
for i=1:11
subplot(3,4,i)   
scatter (varmeans.NPmeanTW5_15np8(i,1:72) , varmeans.NPvarTW5_15np8(i,1:72));
title(['TimeWindow=', num2str(i+4), '   NP=8'])
end
figure;
for i=1:11
subplot(3,4,i)   
scatter (varmeans.NPmeanTW5_15np10(i,1:72) , varmeans.NPvarTW5_15np10(i,1:72));
title(['TimeWindow=', num2str(i+4), '   NP=10'])
end
% 
% figure;
% for i=1:11
% subplot(3,3,i)    
%     
% end
% figure;
% for i=1:19
% subplot(3,3,i)    
% end
elseif which==19
        
    figure;
for i=1:19
subplot(4,5,i)   
scatter (varmeans.NPmeanNP2_20tw20 (i,1:72) , varmeans.NPvarNP2_20tw20(i,1:72));
title(['NProbe=', num2str(i+1), ' TW=20'])
end
    figure;
for i=1:19
subplot(4,5,i)   
scatter (varmeans.NPmeanNP2_20tw30 (i,1:72) , varmeans.NPvarNP2_20tw30(i,1:72));
title(['NProbe=', num2str(i+1), ' TW=30'])
end
    figure;
for i=1:19
subplot(4,5,i)   
scatter (varmeans.NPmeanNP2_20tw50 (i,1:72) , varmeans.NPvarNP2_20tw50(i,1:72));
title(['NProbe=', num2str(i+1), ' TW=50'])
end
    figure;
for i=1:19
subplot(4,5,i)   
scatter (varmeans.NPmeanNP2_20tw100 (i,1:72) , varmeans.NPvarNP2_20tw100(i,1:72));
title(['NProbe=', num2str(i+1), ' TW=100'])
end


    else
    'ham wa nicht' %#ok<NOPRT>
end