A repository for plotting and visualizing data
Go Other
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.github github: ask for gonum/plot rather than gonum proper Feb 28, 2018
.travis travis: add import-check Jul 24, 2018
gob all: use golang.org/x/exp/rand instead of math/rand Jul 24, 2018
internal/cmpimg internal/cmpimg: add image diffing output Nov 22, 2017
palette all: use golang.org/x/exp/rand instead of math/rand Jul 24, 2018
plotter plotter: Stop panicking when Polygon wholly outside plotting range Aug 10, 2018
plotutil all: use golang.org/x/exp/rand instead of math/rand Jul 24, 2018
testdata plot: Make Align honor tile margins Jun 13, 2018
tools/bezier all: enforce custom import path gonum.org/v1/plot Aug 29, 2017
vg vg/vgpdf: add TestArc Jul 24, 2018
.gitignore gitignore: add .tex files to the gitignore list Aug 15, 2017
.travis.yml travis: add import-check Jul 24, 2018
AUTHORS AUTHORS: add Sebastien Binet Feb 13, 2015
LICENSE Change to the gonum license. Feb 4, 2015
README.md all: migrate to gonum.org/v1/plot Aug 29, 2017
align.go plot: Make Align honor tile margins Jun 13, 2018
align_test.go plot: Make Align honor tile margins Jun 13, 2018
axis.go plot: fix axis labelling Nov 22, 2017
axis_test.go plot: fix axis labelling Nov 22, 2017
doc.go all: enforce custom import path gonum.org/v1/plot Aug 29, 2017
go.mod all: update Go module with x/exp dependency Jul 24, 2018
labelling.go plot: fix axis labelling Nov 22, 2017
labelling_test.go plot: fix typo found by go vet Feb 23, 2018
legend.go Add standalone legend capability Apr 10, 2018
legend_test.go Add standalone legend capability Apr 10, 2018
plot.go Add standalone legend capability Apr 10, 2018
plot_test.go all: migrate to gonum.org/v1/plot Aug 29, 2017

README.md

Gonum Plot Build Status Coverage Status GoDoc

gonum/plot is the new, official fork of code.google.com/p/plotinum. It provides an API for building and drawing plots in Go. Note that this new API is still in flux and may change. See the wiki for some example plots.

For additional Plotters, see the Community Plotters Wiki page.

There is a discussion list on Google Groups: gonum-dev@googlegroups.com.

gonum/plot is split into a few packages:

  • The plot package provides simple interface for laying out a plot and provides primitives for drawing to it.
  • The plotter package provides a standard set of Plotters which use the primitives provided by the plot package for drawing lines, scatter plots, box plots, error bars, etc. to a plot. You do not need to use the plotter package to make use of gonum/plot, however: see the wiki for a tutorial on making your own custom plotters.
  • The plotutil package contains a few routines that allow some common plot types to be made very easily. This package is quite new so it is not as well tested as the others and it is bound to change.
  • The vg package provides a generic vector graphics API that sits on top of other vector graphics back-ends such as a custom EPS back-end, draw2d, SVGo, X-Window and gopdf.

Documentation

Documentation is available at:

https://godoc.org/gonum.org/v1/plot

Installation

You can get gonum/plot using go get:

go get gonum.org/v1/plot/...

If you write a cool plotter that you think others may be interested in using, please post to the list so that we can link to it in the gonum/plot wiki or possibly integrate it into the plotter package.