MCPcopy Index your code
hub / github.com/gonum/plot / Image

Struct Image

plotter/image.go:17–23  ·  view source on GitHub ↗

Image is a plotter that draws a scaled, raster image.

Source from the content-addressed store, hash-verified

15
16// Image is a plotter that draws a scaled, raster image.
17type Image struct {
18 img image.Image
19 cols int
20 rows int
21 xmin, xmax, dx float64
22 ymin, ymax, dy float64
23}
24
25// NewImage creates a new image plotter.
26// Image will plot img inside the rectangle defined by the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected