diagram

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcatPNGs

func ConcatPNGs(fileNames []string, targetFile string) error

func CovertToPlotXY

func CovertToPlotXY(data []downsampling.Point) plotter.XYs

func CreateDiagram

func CreateDiagram(confs []Config, outputFile string) error

func MakeLinePlotter

func MakeLinePlotter(d plotter.XYs, c color.RGBA, width int) (*plotter.Line, error)

func SavePNG

func SavePNG(title string, file string, name []string, line []*plotter.Line) error

Types

type Config

type Config struct {
	Title string
	Name  string
	Data  []downsampling.Point
	Color color.RGBA
}

Jump to

Keyboard shortcuts

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