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

Method Y

plotter/volcano_example_test.go:31–37  ·  view source on GitHub ↗
(r int)

Source from the content-addressed store, hash-verified

29 return 10 * float64(c)
30}
31func (g deciGrid) Y(r int) float64 {
32 m, _ := g.Matrix.Dims()
33 if r < 0 || r >= m {
34 panic("index out of range")
35 }
36 return 10 * float64(r)
37}
38
39func Example_volcano() {
40 var levels []float64

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected