Plotting parametric functions in Haskell

Hello, I think it would be interesting to plot and visualize parametric (and other kind of functions) using the haskell language to define them [functions]. Does anyone know about some software or API that does just that? I started writing a plotter to do that using hopengl. But my computer graphics skills are rather bad and I couldn't produce anything really useful. []'s Rafael

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.
On Mon, Sep 14, 2009 at 4:42 AM, Rafael Cunha de Almeida
Hello,
I think it would be interesting to plot and visualize parametric (and other kind of functions) using the haskell language to define them [functions]. Does anyone know about some software or API that does just that? I started writing a plotter to do that using hopengl. But my computer graphics skills are rather bad and I couldn't produce anything really useful.
[]'s Rafael
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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.

On Sun, 13 Sep 2009, Rafael Cunha de Almeida wrote:
Hello,
I think it would be interesting to plot and visualize parametric (and other kind of functions) using the haskell language to define them [functions]. Does anyone know about some software or API that does just that? I started writing a plotter to do that using hopengl. But my computer graphics skills are rather bad and I couldn't produce anything really useful.
Do you mean something like the gnuplot wrapper? http://hackage.haskell.org/package/gnuplot
participants (4)
-
Henning Thielemann
-
Peter Verswyvelen
-
Rafael Almeida
-
Rafael Cunha de Almeida