gnuplot: 2D and 3D plots using gnuplot

[ bsd3, graphics, library, math ] [ Propose Tags ]
Versions 0.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,
Dependencies array (>=0.1 && <0.5), base (>=1.0 && <5), containers (>=0.1 && <0.5), filepath (>=1.1 && <1.3), monoid‑transformer (>=0.0.2 && <0.1), old‑locale (==1.0.*), process (>=1.0 && <1.2), time (>=1.1 && <1.5), utility‑ht (>=0.0.1 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann <>
Maintainer Henning Thielemann <>
Category Graphics, Math
Home page
Source repo this: darcs get --tag 0.5
head: darcs get
Uploaded by HenningThielemann at Wed Feb 29 10:01:39 UTC 2012
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables gnuplot-demo
Downloads 11024 total (122 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

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.





Choose the new smaller, split-up base package.


Build test executables


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


Maintainer's Corner

For package maintainers and hackage trustees