| CARVIEW |
plots: Diagrams based plotting library
Modules
[Index] [Quick Jump]
Downloads
- plots-0.1.1.5.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.0, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.1.1.5 (info) |
|---|---|
| Dependencies | adjunctions, base (>=4.7 && <5.0), base-orphans, colour, containers (>=0.3 && <0.8), data-default (>=0.5 && <0.9), diagrams-core (>=1.3 && <1.6), diagrams-lib (>=1.3 && <1.6), directory, distributive, filepath, fingertree, hashable (>=1.1 && <1.6), intervals, JuicyPixels, lens (>=4.6 && <5.4), linear (>=1.2 && <2.0), monoid-extras (>=0.3 && <0.7), mtl (>=1.0 && <2.4), optparse-applicative, process, profunctors, semigroupoids, semigroups, split (>=0.1.2 && <0.5), statistics, time, transformers, vector [details] |
| Tested with | ghc ==9.2.1, ghc ==8.8.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4 |
| License | BSD-3-Clause |
| Author | Christopher Chalmers |
| Maintainer | c.chalmers@me.com |
| Uploaded | by cchalmers at 2024-08-28T18:39:05Z |
| Revised | Revision 1 made by cchalmers at 2025-09-15T19:11:28Z |
| Category | Graphics |
| Home page | https://github.com/cchalmers/plots |
| Bug tracker | https://github.com/cchalmers/plots |
| Source repo | head: git clone https://github.com/cchalmers/plots |
| Distributions | |
| Reverse Dependencies | 3 direct, 1 indirect [details] |
| Downloads | 6899 total (31 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] |
Readme for plots-0.1.1.5
[back to package description]plots
plots is a plotting library based on diagrams.
Some sample plots:
Scatter plot
Bar plot
Heat map
There are many more plots to be added. There are also plans to support 3D plots. Issues and pull requests welcome.
Examples
There are several example plots in the examples/ directory. To build
the examples, first ensure that you have stack installed, and that you
have a stack.yaml file in this directory that contains the lines:
packages:
- '.'
- 'test'
(If you run the command stack init, stack will automatically generate
the stack.yaml file with the appropriate packages.)
You can then build the examples using sh stack build stack exec RunExamples The RunExamples script will generate png files in
the examples_output directory.
Note: The RunExamples script re-builds an example if the output
file (examples_output/X.png) does not exist, or if the source file
(examples/X.hs) has been modified since the last time the script was
run.
Note 2: If the RunExamples script fails with errors such as
Failed to load interface for ... then you will need to stack install the required packages. In my case (with a freshly installed
stack), I needed to run the following stack install wreq cassava diagrams-rasterific.