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

Method y

plotter/image.go:122–127  ·  view source on GitHub ↗
(r int)

Source from the content-addressed store, hash-verified

120}
121
122func (img *Image) y(r int) float64 {
123 if r >= img.rows || r < 0 {
124 panic("plotter/image: illegal range")
125 }
126 return img.ymin + float64(r)*img.dy
127}
128
129// uniform is a cropped uniform image.
130type uniform struct {

Callers 1

transformForMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected