#! /bin/csh -f
# Last edited on 1999-08-07 08:21:15 by hcgl

cat ~/tese/tests/ceramic-2/0000/ceramic-2-0000-f128.fcv \
  | egrep -v '(begin|end|^[|])' \
  | gawk '/=/{if($1=="unit"){u = $3;} next;} /./{print $1 * u;}' \
  > /tmp/$$.plt
  
gnuplot <<EOF 
set term x11
plot "/tmp/$$.plt" with linespoints
pause -1
EOF


PZMatchImage \
  -xChain ~/tese/tests/ceramic-2/0000/ceramic-2-0000-f128 \
  -yChain ~/tese/tests/ceramic-2/0001/ceramic-2-0001-f128 \
  -outFile test-f128-img \
  -epsilon 0.001 \
  -delta 0.2

xv test-f128-img.pgm 
