plot_transformer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformForPlot

func TransformForPlot(headers []string, rows [][]string, source, xAxis, yAxis, zAxis string) ([]map[string]interface{}, map[string]interface{}, error)

TransformForPlot extracts x/y/z data and plot layout for plotting (e.g., Plotly) from headers and rows. If source == "events", x/y/z are string slices; otherwise, float64 slices.

func TransformRowsToFloat64

func TransformRowsToFloat64(rows [][]string) [][]float64

TransformRowsToFloat64 converts [][]string data to [][]float64 for plotting, setting invalid entries to zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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