gnuplot: 2D and 3D plots using gnuplot
This is a wrapper to gnuplot which lets you create 2D and 3D plots.
Start a simple session with cabal repl
.
If not already loaded, call :module Graphics.Gnuplot.Simple
in order to load 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
Modules
[Index] [Quick Jump]
- Graphics
- Gnuplot
- Graphics.Gnuplot.Advanced
- Graphics.Gnuplot.ColorSpecification
- Graphics.Gnuplot.Display
- Graphics.Gnuplot.Encoding
- Graphics.Gnuplot.File
- Graphics.Gnuplot.Frame
- Graphics.Gnuplot.Graph
- Graphics.Gnuplot.LineSpecification
- Graphics.Gnuplot.MultiPlot
- Graphics.Gnuplot.Plot
- Graphics.Gnuplot.Simple
- Graphics.Gnuplot.Terminal
- Graphics.Gnuplot.Time
- Value
- Gnuplot
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
buildexamples | Build example executables | Disabled |
executepipe | Avoid a temporary gnuplot script by running gnuplot with runInteractiveProcess | Disabled |
executeshell | Avoid a temporary gnuplot script by calling gnuplot via a UNIX shell and its piping syntax | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- gnuplot-0.5.7.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.3.2, 0.3.3, 0.3.3.1, 0.3.4, 0.4, 0.4.0.1, 0.4.0.2, 0.4.1, 0.4.1.1, 0.4.2, 0.5, 0.5.0.1, 0.5.0.2, 0.5.1, 0.5.2, 0.5.2.1, 0.5.2.2, 0.5.3, 0.5.3.1, 0.5.4, 0.5.4.1, 0.5.4.2, 0.5.5, 0.5.5.1, 0.5.5.2, 0.5.5.3, 0.5.6, 0.5.6.1, 0.5.7 |
---|---|
Change log | Changes.md |
Dependencies | array (>=0.1 && <0.6), base (>=2 && <5), containers (>=0.1 && <0.8), data-accessor (>=0.2.2 && <0.3), data-accessor-transformers (>=0.2.1 && <0.3), deepseq (>=1.0 && <1.6), filepath (>=1.1 && <1.6), gnuplot, process (>=1.0 && <1.7), semigroups (>=0.1 && <1.0), shell-utility (>=0.0 && <0.2), temporary (>=1.1 && <1.4), time (>=1.5 && <1.14), transformers (>=0.3 && <0.7), utility-ht (>=0.0.12 && <0.1) [details] |
Tested with | ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.2.1, ghc ==8.6.5 |
License | BSD-3-Clause |
Author | Henning Thielemann <haskell@henning-thielemann.de> |
Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |
Revised | Revision 2 made by HenningThielemann at 2024-02-03T16:06:03Z |
Category | Graphics, Math |
Home page | http://www.haskell.org/haskellwiki/Gnuplot |
Source repo | this: darcs get http://code.haskell.org/gnuplot/ --tag 0.5.7 head: darcs get http://code.haskell.org/gnuplot/ |
Uploaded | by HenningThielemann at 2022-02-13T21:06:52Z |
Distributions | LTSHaskell:0.5.7, NixOS:0.5.7, Stackage:0.5.7 |
Reverse Dependencies | 10 direct, 4 indirect [details] |
Executables | gnuplot-demo |
Downloads | 34859 total (151 in the last 30 days) |
Rating | 1.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-02-13 [all 1 reports] |