set ylabel "Number of ORIs (SerNr 300-369)" set xlabel "optical power, uW" set boxwidth 18 set yrange [0:10] plot "power3_dist.dat" using ($1+10):3 title "Distribution of the laser power" with boxes pause -1 set terminal png set output "ORIp4pw_nc.png" plot "power3_dist.dat" using ($1+10):3 title "Distribution of the laser power" with boxes set output