#! /bin/bash 
# Last edited on 2023-09-16 10:40:44 by stolfi

# Plots the distance deviations from average given the name of the  
# file created by  {analyze_feature_vectors.gawk}, sorted by increasing angle.

sg="$1"; shift
pfile="$1"; shift

gnuplot << EOF
  set term X11
  set key top center
  plot "${pfile}" using 2:4 title "${sg}" with linespoints pt 7 ps 2 lw 2
  pause mouse close
EOF
