The gnuplot mathematical graphing package is available on moxt Unix systems. It is free, public domain software.
Here is some documentation: