2D and 3D plots from Haskell using gnuplot