Versions in this module Expand all Collapse all v0 v0.2.0 Jul 26, 2024 Changes in this version + var DefaultColors = []color.Color + func Codes(s *som.Som, columns [][2]int, boundariesLayer int, normalized bool, ...) (image.Image, error) + type CodeBar struct + AdjustAxis bool + Colors []color.Color + Horizontal bool + func (c *CodeBar) Plot(data []float64, dataRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type CodeImage struct + Rows int + func (c *CodeImage) Plot(data []float64, dataRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type CodeLines struct + AdjustAxis bool + StepStyle plotter.StepKind + Vertical bool + func (c *CodeLines) Plot(data []float64, dataRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type CodePie struct + Colors []color.Color + func (c *CodePie) Plot(data []float64, dataRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type CodePlot interface + Plot func(data []float64, dRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type CodeRose struct + Colors []color.Color + func (c *CodeRose) Plot(data []float64, dataRange Range) (*plot.Plot, []plot.Thumbnailer, error) + type ConstantValues struct + Length int + Val float64 + func (vs *ConstantValues) Len() int + func (vs *ConstantValues) Value(i int) float64 + type ImageGrid struct + func NewImageGrid(data []float64, rows int) ImageGrid + func (g *ImageGrid) Dims() (int, int) + func (g *ImageGrid) X(c int) float64 + func (g *ImageGrid) Y(r int) float64 + func (g *ImageGrid) Z(c, r int) float64 + type Range struct + Max float64 + Min float64 + type SimpleXY struct + Values []float64 + Vertical bool + func (s *SimpleXY) Len() int + func (s *SimpleXY) XY(i int) (x, y float64) v0.1.0 Jul 21, 2024 Changes in this version + func Heatmap(title string, g plotter.GridXYZ, width, height int, categories []string, ...) (image.Image, error) + func XY(title string, g plotter.XYer, size layer.Size, width, height int, ...) (image.Image, error) + type FloatGrid struct + Size layer.Size + Values []float64 + func (g *FloatGrid) Dims() (c, r int) + func (g *FloatGrid) X(c int) float64 + func (g *FloatGrid) Y(r int) float64 + func (g *FloatGrid) Z(c, r int) float64 + type IntGrid struct + Size layer.Size + Values []int + func (g *IntGrid) Dims() (c, r int) + func (g *IntGrid) X(c int) float64 + func (g *IntGrid) Y(r int) float64 + func (g *IntGrid) Z(c, r int) float64 + type RandomPalette struct + func NewRandomPalette(cols int) *RandomPalette + func (p *RandomPalette) Colors() []color.Color + type SomLayerGrid struct + Column int + Layer int + Som *som.Som + func (g *SomLayerGrid) Dims() (c, r int) + func (g *SomLayerGrid) X(c int) float64 + func (g *SomLayerGrid) Y(r int) float64 + func (g *SomLayerGrid) Z(c, r int) float64 + type SomRowColXY struct + Index int + IsRow bool + Size layer.Size + Xy plotter.XYer + func (s *SomRowColXY) Len() int + func (s *SomRowColXY) XY(i int) (x, y float64) + type SomXY struct + Som *som.Som + XColumn int + XLayer int + YColumn int + YLayer int + func (s *SomXY) Len() int + func (s *SomXY) XY(i int) (x, y float64) + type TableXY struct + XColumn int + XNorm norm.Normalizer + XTable *table.Table + YColumn int + YNorm norm.Normalizer + YTable *table.Table + func (t *TableXY) Len() int + func (t *TableXY) XY(i int) (x, y float64) + type UMatrixGrid struct + UMatrix [][]float64 + func (g *UMatrixGrid) Dims() (c, r int) + func (g *UMatrixGrid) X(c int) float64 + func (g *UMatrixGrid) Y(r int) float64 + func (g *UMatrixGrid) Z(c, r int) float64 + type WhitePalette struct + func (p *WhitePalette) Colors() []color.Color + type ZeroSizeLabel struct + func (l *ZeroSizeLabel) Plot(c draw.Canvas, p *plot.Plot)