viz

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlotCorrMat

func PlotCorrMat(matrix [][]float64, columns []string)

PlotCorrMat displays the correlation matrix using the fyne package

func ShowPlot added in v0.0.30

func ShowPlot(xData, yData []float64, xAxisLabel, yAxisLabel, title string, dataChan <-chan [2]float64)

ShowPlot initializes and displays the plot in a new window

Types

type Plot added in v0.0.30

type Plot struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

Plot is a custom widget to display live data as a plot

func NewPlot added in v0.0.30

func NewPlot(xAxisLabel, yAxisLabel string) *Plot

NewPlot creates a new Plot widget with axis labels

func (*Plot) CreateRenderer added in v0.0.30

func (p *Plot) CreateRenderer() fyne.WidgetRenderer

CreateRenderer implements fyne.WidgetRenderer

func (*Plot) UpdateData added in v0.0.30

func (p *Plot) UpdateData(newXData, newYData float64)

UpdateData updates the data of the plot

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳