easyplot: A tiny plotting library, utilizes gnuplot for plotting.
A tiny plotting library for Haskell, using gnuplot for rendering.
Developed and tested using Mac OS X 10.7.3 with gnuplot 4.4 (via MacPorts). Compiles using GHC 7.0.4
Make sure gnuplot is in your path and everything should work.
Some sample plots:
plot X11 $ Data2D [Title "Sample Data"] [] [(1, 2), (2, 4), ...]
plot X11 $ Function2D [Title "Sine and Cosine"] [] (\x -> sin x * cos x)
plot X11 sin
plot (PNG "plot.png") (sin . cos)
plot X11 $ Gnuplot2D [Color Blue] [] "2**cos(x)"
plot X11 [ Data2D [Title "Graph 1", Color Red] [] [(x, x ** 3) | x <- [-4,-3.9..4]] , Function2D [Title "Function 2", Color Blue] [] (\x -> negate $ x ** 2) ]
plot' [Interactive] X11 $ Gnuplot3D [Color Magenta] [] "x ** 2 + y ** 3"
Downloads
- easyplot-1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0 |
---|---|
Dependencies | base (>=4 && <5), process [details] |
License | MIT |
Author | Julian Fleischer <julian.fleischer@fu-berlin.de> |
Maintainer | Julian Fleischer <julian.fleischer@fu-berlin.de> |
Category | Graphics, Math, Plotting |
Home page | http://hub.darcs.net/scravy/easyplot |
Source repo | head: darcs get hub.darcs.net:easyplot this: darcs get hub.darcs.net:easyplot --tag v1.0 |
Uploaded | by JulianFleischer at 2013-03-26T19:45:41Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 3928 total (20 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |