gnuplot
can create high-quality graphs and diagram for functions and data.
gnuplot is a command-driven interactive function plotting program. It can be used to plot functions and data points in both two- and three-dimensional plots in many different formats. It is designed primarily for the visual display of scientific data.
Home page: http://www.gnuplot.info/