Documentation ¶
Overview ¶
Package plot provides functions for creating SOM-related plots.
Index ¶
- Variables
- func Codes(s *som.Som, columns [][2]int, boundariesLayer int, normalized bool, ...) (image.Image, error)
- func Heatmap(title string, g plotter.GridXYZ, boundaries plotter.GridXYZ, width, height int, ...) (image.Image, error)
- func XY(title string, g plotter.XYer, size layer.Size, width, height int, ...) (image.Image, error)
- type CodeBar
- type CodeImage
- type CodeLines
- type CodePie
- type CodePlot
- type CodeRose
- type ConstantValues
- type FloatGrid
- type ImageGrid
- type IntGrid
- type RandomPalette
- type Range
- type SimpleXY
- type SomLayerGrid
- type SomRowColXY
- type SomXY
- type TableXY
- type UMatrixGrid
- type WhitePalette
- type ZeroSizeLabel
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type ConstantValues ¶ added in v0.2.0
func (*ConstantValues) Len ¶ added in v0.2.0
func (vs *ConstantValues) Len() int
func (*ConstantValues) Value ¶ added in v0.2.0
func (vs *ConstantValues) Value(i int) float64
type ImageGrid ¶ added in v0.2.0
type ImageGrid struct {
// contains filtered or unexported fields
}
func NewImageGrid ¶ added in v0.2.0
type RandomPalette ¶
type RandomPalette struct {
// contains filtered or unexported fields
}
func NewRandomPalette ¶
func NewRandomPalette(cols []color.Color, count int) *RandomPalette
func (*RandomPalette) Colors ¶
func (p *RandomPalette) Colors() []color.Color
type SomLayerGrid ¶
func (*SomLayerGrid) Dims ¶
func (g *SomLayerGrid) Dims() (c, r int)
func (*SomLayerGrid) X ¶
func (g *SomLayerGrid) X(c int) float64
func (*SomLayerGrid) Y ¶
func (g *SomLayerGrid) Y(r int) float64
func (*SomLayerGrid) Z ¶
func (g *SomLayerGrid) Z(c, r int) float64
type SomRowColXY ¶
func (*SomRowColXY) Len ¶
func (s *SomRowColXY) Len() int
func (*SomRowColXY) XY ¶
func (s *SomRowColXY) XY(i int) (x, y float64)
type TableXY ¶
type TableXY struct { XTable *table.Table YTable *table.Table XColumn int YColumn int XNorm norm.Normalizer YNorm norm.Normalizer }
type UMatrixGrid ¶
type UMatrixGrid struct {
UMatrix [][]float64
}
func (*UMatrixGrid) Dims ¶
func (g *UMatrixGrid) Dims() (c, r int)
func (*UMatrixGrid) X ¶
func (g *UMatrixGrid) X(c int) float64
func (*UMatrixGrid) Y ¶
func (g *UMatrixGrid) Y(r int) float64
func (*UMatrixGrid) Z ¶
func (g *UMatrixGrid) Z(c, r int) float64
type WhitePalette ¶
type WhitePalette struct{}
func (*WhitePalette) Colors ¶
func (p *WhitePalette) Colors() []color.Color
type ZeroSizeLabel ¶
type ZeroSizeLabel struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.