Scatter implements the Plotter interface, drawing a glyph for each of a set of points.
| 13 | // Scatter implements the Plotter interface, drawing |
| 14 | // a glyph for each of a set of points. |
| 15 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected