#! /bin/bash
# Last edited on 2024-07-27 00:53:00 by stolfi

pfile="out/meshing.png"

export GFONTPATH="${HOME}/ttf"

gnuplot <<EOF
  set term png font "Arial,14" size 700,700
  set output "${pfile}"
  set size ratio -1
  set key top left
  
  plot \
    "out/vb1.txt" using 2:3 title "vb1" with points pt 7 ps 0.33 lc rgb '#8800ff', \
    "out/vb2.txt" using 2:3 title "vb2" with points pt 7 ps 0.33 lc rgb '#ff0088', \
    "out/vi1.txt" using 2:3 title "vi1" with points pt 7 ps 0.33 lc rgb '#008800', \
    "out/vi2.txt" using 2:3 title "vi2" with points pt 7 ps 0.33 lc rgb '#ff4400'
  quit
EOF

display ${pfile}

  
