tsp

package module
v0.0.0-...-3271bcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

tsp

"The Shit Plotter" is a library with handy tools for plotting []float64 data with gonum

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorBlue      = []uint8{52, 152, 219, 255}
	ColorRed       = []uint8{231, 76, 60, 255}
	ColorGreen     = []uint8{22, 160, 133, 255}
	ColorTurquoise = []uint8{26, 188, 156, 255}
	ColorAmethist  = []uint8{155, 89, 182, 255}
	ColorAsphalt   = []uint8{52, 73, 94, 255}
	ColorOrange    = []uint8{211, 84, 0, 255}
)

Functions

func PlotBox

func PlotBox(v1 []float64, title string) error

========= = Boxes = =========

func PlotHistogram

func PlotHistogram(v []float64, uniqs int, title string) error

============== = Histograms = ==============

func PlotScatterXY1Var

func PlotScatterXY1Var(x1, y1 []float64, c1 []uint8, title string) error

============ = Scatters = ============

func PlotScatterXY2Var

func PlotScatterXY2Var(x1, y1, x2, y2 []float64, c1, c2 []uint8, title string) error

func PlotScatterXY3Var

func PlotScatterXY3Var(x1, y1, x2, y2, x3, y3 []float64, c1, c2, c3 []uint8, title string) error

func PlotTime1Vals

func PlotTime1Vals(timestamp, v1 []float64, c1 []uint8, title string) error

============= = Timelines = =============

func PlotTime2Scatter1Line

func PlotTime2Scatter1Line(ts1, v1, ts2, v2, ts3, v3 []float64, c1, c2, c3 []uint8, title string) error

========== = Hybrid = ==========

func PlotTime2Vals

func PlotTime2Vals(timestamp, v1, v2 []float64, c1, c2 []uint8, title string) error

func PlotTime3Vals

func PlotTime3Vals(timestamp, v1, v2, v3 []float64, c1, c2, c3 []uint8, title string) error

func Stats

func Stats(data []float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL