plot

package
v0.0.0-...-7583e5c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package plot provides plot facilities to visualize RRUL data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenCSV

func GenCSV(result rrul.Result, scale uint) error

GenCSV prints RRUL result to CSV format

func LineChart

func LineChart(data rrul.Result, scale uint, filename string) error

LineChart generate line chart for RRUL result and save a PNG file

func MakePoints

func MakePoints(data []rrul.DataPoint, scale uint) plotter.XYs

MakePoints converts a RRUL datapoint list to plotters points

func Summary

func Summary(result rrul.Result)

Summary prints out sumary result of RRUL test

func Visualize

func Visualize(cfg Config, data rrul.Result) error

Visualize is the entry point of plot package

Types

type Config

type Config struct {
	Filename string
	Scale    uint
}

Config is the configuration of plot package

Jump to

Keyboard shortcuts

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