Versions in this module Expand all Collapse all v0 v0.2.0 Dec 17, 2021 v0.1.0 Nov 26, 2021 Changes in this version + const X + const Y + const Z + func ColorMap(min, max, value float32, colormap ...color.RGBA) color.RGBA + func GIF256(w io.Writer, img image.Image) error + func HSLMap(x, y, z float32) color.RGBA + func HSLtoRGB(h, s, l float32) color.RGBA + func Image(f *data.Slice, fmin, fmax string, arrowSize int, colormap ...ColorMapSpec) *image.RGBA + func JPEG100(w io.Writer, img image.Image) error + func On(img *image.RGBA, f *data.Slice, fmin, fmax string, arrowSize int, ...) + func PNG(w io.Writer, img image.Image) error + func Render(out io.Writer, f *data.Slice, min, max string, arrowSize int, encode codec, ...) error + func RenderFile(fname string, f *data.Slice, min, max string, arrowSize int, ...) error + func RenderFormat(out io.Writer, f *data.Slice, min, max string, arrowSize int, format string, ...) error + func SVG(out io.Writer, arr [3][][][]float32) + type Canvas struct + func NewCanvas(img *image.RGBA) *Canvas + func (c *Canvas) Arrow(x, y, mx, my, mz, size float32) + type ColorMapSpec struct + Ccomp int + Cmap []color.RGBA