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

Method DataRange

plotter/scatter.go:57–59  ·  view source on GitHub ↗

DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.

()

Source from the content-addressed store, hash-verified

55// x and y values, implementing the plot.DataRanger
56// interface.
57func (pts *Scatter) DataRange() (xmin, xmax, ymin, ymax float64) {
58 return XYRange(pts)
59}
60
61// GlyphBoxes returns a slice of plot.GlyphBoxes,
62// implementing the plot.GlyphBoxer interface.

Callers

nothing calls this directly

Calls 1

XYRangeFunction · 0.85

Tested by

no test coverage detected