Plotter is a project mainly written in Haskell, it's free.
function plotter with a latex-style syntax