Use gnuplot. It can output plots as postscript.
Update 2008-01-29: see Plot a spiral with gnuplot.
In reply to Re: perl postscript by ambrus in thread perl postscript by baxy77bax