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.
There is a discussion list on Google Groups: email@example.com.
gonum/plot is split into a few packages:
plotpackage provides simple interface for laying out a plot and provides primitives for drawing to it.
plotterpackage provides a standard set of
Plotters which use the primitives provided by the
plotpackage for drawing lines, scatter plots, box plots, error bars, etc. to a plot. You do not need to use the
plotterpackage to make use of
gonum/plot, however: see the wiki for a tutorial on making your own custom plotters.
plotutilpackage 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.
vgpackage 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 is available at:
You can get
gonum/plot using go get:
go get github.com/gonum/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