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

Method X

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

X returns the coordinate for the column at the index c. It will panic if c is out of bounds for the grid.

(c int)

Source from the content-addressed store, hash-verified

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.
27 X(c int) float64
28
29 // Y returns the coordinate for the row at the index r.
30 // It will panic if r is out of bounds for the grid.

Callers 3

PlotMethod · 0.65
DataRangeMethod · 0.65
GlyphBoxesMethod · 0.65

Implementers 1

fieldplotter/field_test.go

Calls

no outgoing calls

Tested by

no test coverage detected