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
There is also matplotlib-haskell library (pretty new). It is very expressive yet simple to use.
Example:
import Graphics.Matplotlib plotQuadraticFn :: IO () plotQuadraticFn = onscreen $ plot x y where x = [-10..10] y = fmap (**2) x