Haskell plotting library similar to MATLAB

Trismegistos picture Trismegistos · Jan 26, 2012 · Viewed 8.1k times · Source

Is there a Haskell library for drawing plots similar to MATLAB, scilab or matplotlib? They all have very simple interfaces, which work like a state machine:

plot(xs, ys)
show() -- opens window with plot

It would be nice to display plots in a window and to have ability to write them to disk.

Answer

Yuras picture Yuras · Jan 26, 2012

What about gnuplot?

For example, plotList from Graphics.Gnuplot.Simple:

plotList [] [(1, 1), (2, 2), (3, 3)]