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

Method DataRange

plotter/line.go:143–145  ·  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

141// DataRange returns the minimum and maximum
142// x and y values, implementing the plot.DataRanger interface.
143func (pts *Line) DataRange() (xmin, xmax, ymin, ymax float64) {
144 return XYRange(pts)
145}
146
147// GlyphBoxes implements the plot.GlyphBoxer interface.
148func (pts *Line) GlyphBoxes(plt *plot.Plot) []plot.GlyphBox {

Callers

nothing calls this directly

Calls 1

XYRangeFunction · 0.85

Tested by

no test coverage detected