it works, gnuplot works.

it's even kinda pretty.
should be ready to merge to master