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

Interface Plotter

plot/plotter.go:9–17  ·  view source on GitHub ↗

Plotter is an interface that wraps the Plot method. Some standard implementations of Plotter can be found in plotters.

Source from the content-addressed store, hash-verified

7// Plotter is an interface that wraps the Plot method.
8// Some standard implementations of Plotter can be found in plotters.
9type Plotter interface {
10 // Plot draws the data to the Plot Paint
11 Plot(pt *Plot)
12
13 // returns the data for this plot as X,Y points,
14 // including corresponding pixel data.
15 // This allows gui interface to inspect data etc.
16 XYData() (data XYer, pixels XYer)
17}
18
19// DataRanger wraps the DataRange method.
20type DataRanger interface {

Callers 4

DrawMethod · 0.65
PlotFunction · 0.65
PlotMethod · 0.65
ClosestDataToPixelMethod · 0.65

Implementers 7

Lineplot/plots/line.go
BarChartplot/plots/barchart.go
Scatterplot/plots/scatter.go
Labelsplot/plots/labels.go
YErrorBarsplot/plots/errbars.go
XErrorBarsplot/plots/errbars.go
_cogentcore_org_core_plot_Plotteryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected