set output 'inten_two_ten.ps' 
set term postscript color enhanced 'Helvetica,18'   
set style line 1 lt rgb 'red' lw 3  
set style line 2 lt rgb 'green' lw 3  
set style line 3 lt rgb 'blue' lw 3  
set style line 4 lt rgb 'cyan' lw 3  
set style line 5 lt rgb 'violet' lw 3  
set style line 6 lt rgb 'black' lw 3  
set grid 
set key bot left 
set ylabel 'Normalized itensity'  
set xlabel 'Distance from center of pattern (m)' 
set title 'Two- and ten-slit  d = 0.4 mm, L = 10 m, lambda = 550 nm' 
plot [0:0.1][] 'calc_tenslit_inten.out' using 2:10 with lines           ls 6  t ''  ,                      'calc_twoslit_inten.out' using 2:10 with lines           ls 1  t ''  
set output 
quit 
