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

Method DataRange

plotter/contour.go:261–264  ·  view source on GitHub ↗

DataRange implements the DataRange method of the plot.DataRanger interface.

()

Source from the content-addressed store, hash-verified

259// DataRange implements the DataRange method
260// of the plot.DataRanger interface.
261func (h *Contour) DataRange() (xmin, xmax, ymin, ymax float64) {
262 c, r := h.GridXYZ.Dims()
263 return h.GridXYZ.X(0), h.GridXYZ.X(c - 1), h.GridXYZ.Y(0), h.GridXYZ.Y(r - 1)
264}
265
266// GlyphBoxes implements the GlyphBoxes method
267// of the plot.GlyphBoxer interface.

Callers

nothing calls this directly

Calls 3

DimsMethod · 0.65
XMethod · 0.65
YMethod · 0.65

Tested by

no test coverage detected