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

Method Line

vg/vg.go:117–119  ·  view source on GitHub ↗

Line draws a line from the current point to the given point.

(pt Point)

Source from the content-addressed store, hash-verified

115// Line draws a line from the current point to the
116// given point.
117func (p *Path) Line(pt Point) {
118 *p = append(*p, PathComp{Type: LineComp, Pos: pt})
119}
120
121// Arc adds an arc to the path defined by the center
122// point of the arc's circle, the radius of the circle

Callers 15

ExampleField_colorsFunction · 0.95
plotVectorizedMethod · 0.95
PlotMethod · 0.95
naivePlotMethod · 0.95
pathMethod · 0.95
drawVectorFunction · 0.95
PlotMethod · 0.80
PathMethod · 0.80
DrawGlyphMethod · 0.80
DrawGlyphMethod · 0.80
DrawGlyphMethod · 0.80
DrawGlyphMethod · 0.80

Calls

no outgoing calls

Tested by 1

ExampleField_colorsFunction · 0.76