graph

package
v0.0.0-...-cb49962 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoPlotter

type InfoPlotter struct {
	// contains filtered or unexported fields
}

func NewInfoPlotter

func NewInfoPlotter(bufferSize int) *InfoPlotter

func (*InfoPlotter) AddPoint

func (ip *InfoPlotter) AddPoint(x, y float64)

func (*InfoPlotter) PlotFunc

func (ip *InfoPlotter) PlotFunc(color color.Color, fn func(x float64) float64)

func (*InfoPlotter) SaveToFile

func (ip *InfoPlotter) SaveToFile(ctx context.Context, filename string) error

func (*InfoPlotter) SetPlotColor

func (ip *InfoPlotter) SetPlotColor(color color.Color)

func (*InfoPlotter) SetYLabel

func (ip *InfoPlotter) SetYLabel(label string)

Jump to

Keyboard shortcuts

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