#! /bin/sh
SS -t poly -H poly.ss > poly.html
printf "set term gif\nset output\nplot 'poly.out' using 1:2 with points notitle,\
'poly.out' using 1:3 with lines notitle\n" | gnuplot > poly.gif
rm poly.out
# the points are the original noisy data,
# the line is the polynomial approximation to the data