MCPcopy
hub / github.com/gonum/plot / Scatter

Struct Scatter

plotter/scatter.go:15–26  ·  view source on GitHub ↗

Scatter implements the Plotter interface, drawing a glyph for each of a set of points.

Source from the content-addressed store, hash-verified

13// Scatter implements the Plotter interface, drawing
14// a glyph for each of a set of points.
15type Scatter struct {
16 // XYs is a copy of the points for this scatter.
17 XYs
18
19 // GlyphStyleFunc, if not nil, specifies GlyphStyles
20 // for individual points
21 GlyphStyleFunc func(int) draw.GlyphStyle
22
23 // GlyphStyle is the style of the glyphs drawn
24 // at each point.
25 draw.GlyphStyle
26}
27
28// NewScatter returns a Scatter that uses the
29// default glyph style.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected