
On Mon, Sep 14, 2009 at 6:37 AM, Peter Verswyvelen
I did that once a long time ago using GTK2HS; but I don't have that code anymore I think, it was a quick hack anyway.
Doing a search for plot on Hackage revealed http://hackage.haskell.org/package/Chart http://hackage.haskell.org/package/gnuplot
Maybe that helps.
I probably should have mentioned that I really want to plot a 3D function. I've seen those packages before, but I didn't even tried them out. Chart seems to be only for 2D stuff and the reason why I was looking for haskell solutions is because I don't really like gnuplot for 3D plotting. Maybe I'm the one who doesn't get gnuplot's interface, but I find it awful to navigate through a 3D graph using gnuplot. Thanks for the answer, though.