#! /bin/bash
# Last edited on 2019-08-27 14:01:35 by jstolfi

export GDFONTPATH=~/ttf

gnuplot <<EOF

set term x11 size 400,640
set yrange [-1:1211]
set xrange [-1:611]
set ytics 20
set grid ytics lt 1 lc rgb '#bbaa66'
xpos(dum) = (0.25*column(7)+200*column(1)+10*column(3))
ypos(dum) = column(7)
plot \
  "drill-bits-have.txt"   using (xpos(0)):(ypos(0)) title "have" \
    with linespoints lt 1 pt 7 ps 0.8 lc rgb '#008800', \
  "drill-bits-needed.txt" using (xpos(0)):(ypos(0)) title "need" \
    with linespoints lt 1 pt 7 ps 1.2 lc rgb '#ff3300'
pause 300
EOF
