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

Function XYRange

plotter/plotter.go:124–128  ·  view source on GitHub ↗

XYRange returns the minimum and maximum x and y values.

(xys XYer)

Source from the content-addressed store, hash-verified

122// XYRange returns the minimum and maximum
123// x and y values.
124func XYRange(xys XYer) (xmin, xmax, ymin, ymax float64) {
125 xmin, xmax = Range(XValues{xys})
126 ymin, ymax = Range(YValues{xys})
127 return
128}
129
130// XYs implements the XYer interface.
131type XYs []XY

Callers 3

DataRangeMethod · 0.85
DataRangeMethod · 0.85
DataRangeMethod · 0.85

Calls 1

RangeFunction · 0.85

Tested by

no test coverage detected