#!/bin/sh

awk '
!/^#/{
  print "set label \"" $1 "\" at " log10($7) ", graph " 1.02 " center font \"Helvetica,10\""
}

function log10(x) {
  return log(x)/log(10);
}
' < sptyp_index.dat > sptyp_index.lab


