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

Struct XYLabels

plotter/labels.go:115–118  ·  view source on GitHub ↗

XYLabels holds XY data with labels. The ith label corresponds to the ith XY.

Source from the content-addressed store, hash-verified

113// XYLabels holds XY data with labels.
114// The ith label corresponds to the ith XY.
115type XYLabels struct {
116 XYs
117 Labels []string
118}
119
120// Label returns the label for point index i.
121func (l XYLabels) Label(i int) string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected