The plot package

[Tags: bsd3, library]

A package for creating plots, built on top of the Cairo rendering engine.

An ambitious attempt to replace gnuplot.

Monadic actions are used to configure a figure, which is a (rxc) array of subplots. Each plot displays a graph with optional heading, labels, legend, and annotations. The annotations themselves may be used to draw diagrams.

A figure is preprocessed in preparation for rendering by the Cairo renderer. The Cairo library can be used to output the figure to PS, PDF, SVG, and PNG file formats, or to display the figure in a GTK Drawable context. (see package plot-gtk).

The preprocessed figure can be embedded as an arbitrary Cairo render, including in a diagram created with the diagram package. Conversely, arbitrary Cairo renders can be embedded in the data region of a Figure.

The data series are type Data.Packed.Vector from hmatrix, which, when hmatrix is compiled with -fvector, is a synonym for Data.Vector.Storable from the vector package and are thus compatible with packages such as statistics.

The example in Graphics.Rendering.Plot can be viewed at


Versions0.1, 0.1.1,,,,, 0.1.2,,,,,,,,,, 0.1.4,,, 0.1.5,, 0.1.6, 0.1.7,, 0.1.8, 0.2, 0.2.1, 0.2.2, 0.2.3,,
Dependenciesarray, base (==4.*), cairo (>=0.11.1 && <0.13), colour (>=2.2.1 && <2.4), hmatrix (>=0.10), MaybeT, mtl (>2), pango (>=0.11.2 && <0.13)
Copyright(c) A.V.H. McPhail 2010, 2012, 2013, 2014
AuthorVivian McPhail
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Home page
Source repositoryhead: git clone
Upload dateMon Feb 24 08:38:39 UTC 2014
Uploaded byVivianMcPhail
Downloads2050 total (195 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees