in reply to perl for graphing Euclidean geometry
I've used gnuplot with Perl in a couple of programs, to good effect.