hep: go-hep.org/x/hep/fastjet/internal/plot Index | Files

package plot

import "go-hep.org/x/hep/fastjet/internal/plot"

package plot contains functions to plot the Delaunay Triangulation and the Voronoi Diagram.


Package Files

delaunay.go doc.go voronoi.go

func Delaunay Uses

func Delaunay(path string, d *delaunay.Delaunay) error

Delaunay plots the given delaunay triangulation and saves it to the given path.

func Voronoi Uses

func Voronoi(path string, points []*delaunay.Point) error

Voronoi plots the Voronoi diagram of the points and saves it to the given path.

It will compute the delaunay triangulation first.

Package plot imports 5 packages (graph). Updated 2019-05-31. Refresh now. Tools for package owners.