splot

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignalPlotter

type SignalPlotter struct {
	Title      string
	XAxisTitle string
	YAxisTitle string
}

SignalPlotter represents a plotter to plot signals.

func NewSignalPlotter

func NewSignalPlotter(title string, xAxisTitle string, yAxisTitle string) *SignalPlotter

NewSignalPlotter creates and returns a new signal plotter.

func (*SignalPlotter) PlotSignals

func (p *SignalPlotter) PlotSignals(signals [][]float64, titles []string, filename string) error

PlotSignals plots signals and saves the image to a PNG file.

Jump to

Keyboard shortcuts

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