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

Method Y

plotter/heat_test.go:36–42  ·  view source on GitHub ↗
(r int)

Source from the content-addressed store, hash-verified

34 return float64(c) + g.XOffset
35}
36func (g offsetUnitGrid) Y(r int) float64 {
37 m, _ := g.Data.Dims()
38 if r < 0 || r >= m {
39 panic("row index out of range")
40 }
41 return float64(r) + g.YOffset
42}
43
44type integerTicks struct{}
45

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected