gnuplot: 2D and 3D plots using gnuplot

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


This is a wrapper to gnuplot which lets you create 2D and 3D plots.

Start a simple session with make ghci. This loads the module Graphics.Gnuplot.Simple which is ready for use in GHCi. It does not address all fancy gnuplot features in order to stay simple. For more sophisticated plots, especially batch generated graphics, I recommend Graphics.Gnuplot.Advanced. This module contains also an overview of the hierarchy of objects.

Examples for using this interface can be found in the Demo module. In order to compile this and install an example data file, use the Cabal flag buildExamples:

$ cabal install -fbuildExamples gnuplot

With the Cabal flags executePipe and executeShell you can switch to more convenient but probably less portable ways of feeding gnuplot with a script.

Alternative packages: plot, HPlot, Chart, textPlot, easyplot


Versions0.1, 0.2, 0.3, 0.3.2, 0.3.3,, 0.3.4, 0.4,,, 0.4.1,, 0.4.2, 0.5,,, 0.5.1, 0.5.2,,, 0.5.3,, 0.5.4,,,, 0.5.5,,,
Change logNone available
Dependenciesarray (>=0.1 && <0.6), base (>=2 && <5), containers (>=0.1 && <0.6), data-accessor (>=0.2.2 && <0.3), data-accessor-transformers (>=0.2.1 && <0.3), deepseq (>=1.0 && <1.5), filepath (>=1.1 && <1.5), gnuplot, process (>=1.0 && <1.7), temporary (>=1.1 && <1.3), time (>=1.5 && <1.9), transformers (>=0.3 && <0.6), utility-ht (>=0.0.12 && <0.1) [details]
AuthorHenning Thielemann <>
MaintainerHenning Thielemann <>
CategoryGraphics, Math
Home page
Source repositorythis: darcs clone --tag
head: darcs clone
UploadedFri Jul 28 19:52:11 UTC 2017 by HenningThielemann





Build example executables


Avoid a temporary gnuplot script by running gnuplot with runInteractiveProcess


Avoid a temporary gnuplot script by calling gnuplot via a UNIX shell and its piping syntax


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees