Skip to content

fhaust/matplotlib-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matplotlib

Build Status

Haskell bindings to Python's Matplotlib. It's high time that Haskell had a fully-fledged plotting library!

matplotlib contour plot

More info and docs forthcoming. For now see the tests for some examples.

Note that the API will undergo one large change in the next few days to make optional arguments more pervasive and less of a hassle and to eliminate some necessary type annotations. After this it will stabilize.

import Matplotlib onscreen $ contourF (\a b -> sin (degreesRadians a) + cos (degreesRadians b)) (-100) 100 (-200) 200 10

Installation

You will need several python libraries to run this code which can be installed on Ubuntu machines with the following command:

sudo apt-get install -y python3-matplotlib python3-numpy python-mpltoolkits.basemap

If you have instructions for other machines or OSes let me know.

About

Haskell bindings for Python's Matplotlib

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 92.5%
  • Shell 4.5%
  • Python 3.0%