set ylabel "Number of ORIs (SerNr 101-170)" set xlabel "optical power, uW" set boxwidth 18 plot "pnc.dat" using ($1+10):3 title "Distribution of the laser power" with boxes pause -1 plot "pc.dat" using ($1+10):3 title "Distribution of the laser power (6 corrected)" with boxes pause -1 set terminal png set output "ORIp2pw_nc.png" plot "pnc.dat" using ($1+10):3 title "Distribution of the laser power" with boxes set output "ORIp2pw_c.png" plot "pc.dat" using ($1+10):3 title "Distribution of the laser power (6 corrected)" with boxes set output