Documentation ¶
Overview ¶
2D rendering of data slices.
Index ¶
- Constants
- func GIF256(w io.Writer, img image.Image) error
- func GreyMap(min, max, value float32) color.RGBA
- 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) *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 SVG(out io.Writer, arr [3][][][]float32)
- type Canvas
Constants ¶
View Source
const ( X = 0 Y = 1 Z = 2 )
Variables ¶
This section is empty.
Functions ¶
func Image ¶
Renders an image of slice. fmin, fmax = "auto" or a number to set the min/max color scale.
func RenderFile ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.