set yrange [0:109] set xrange [-1:20] set grid x set grid y set xlabel "Line" set ylabel "% of chips with codes 0,39,96,97,98,99" set boxwidth 0.6 plot "pat1_lm" using 1:4 title "patched 1 wafers, 2285 chips" with boxes, "pat1_lm" using 1:3 title "Rel.# of chips" with histeps lw 4 pause -1 set terminal png set output "pat1_lm.png" replot