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

Method Vector

plotter/field.go:23–23  ·  view source on GitHub ↗

Vector returns the value of a vector field at (c, r). It will panic if c or r are out of bounds for the field.

(c, r int)

Source from the content-addressed store, hash-verified

21 // Vector returns the value of a vector field at (c, r).
22 // It will panic if c or r are out of bounds for the field.
23 Vector(c, r int) XY
24
25 // X returns the coordinate for the column at the index c.
26 // It will panic if c is out of bounds for the grid.

Callers 2

NewFieldFunction · 0.65
PlotMethod · 0.65

Implementers 1

fieldplotter/field_test.go

Calls

no outgoing calls

Tested by

no test coverage detected