diagram

package
v0.0.0-...-bf6cb5e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 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 []core.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  []core.Point
	Color color.RGBA
}

Jump to

Keyboard shortcuts

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