MCPcopy Create free account
hub / github.com/cogentcore/core / Len

Method Len

plot/data.go:122–122  ·  view source on GitHub ↗

Len returns the number of x, y pairs.

()

Source from the content-addressed store, hash-verified

120type XYer interface {
121 // Len returns the number of x, y pairs.
122 Len() int
123
124 // XY returns an x, y pair.
125 XY(i int) (x, y float32)

Callers 15

nodeSizeMethod · 0.65
ConfigMeshesMethod · 0.65
ConfigTexturesMethod · 0.65
AllocTexturesMethod · 0.65
UpdateTextureIndexMethod · 0.65
RangeFunction · 0.65
CopyValuesFunction · 0.65
CopyXYsFunction · 0.65
CopyXYZsFunction · 0.65
ClosestDataToPixelMethod · 0.65
NewLabelsFunction · 0.65
NewYErrorBarsFunction · 0.65

Implementers 5

TableXYerplot/plots/table.go
tableXYplot/plotcore/tablexy.go
_cogentcore_org_core_plot_XYZeryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_plot_XYeryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_plot_plots_XYLabeleryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 2

TestMapFunction · 0.52
compareElementsFunction · 0.52