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

Function Points

vg/len.go:14–16  ·  view source on GitHub ↗

Points returns a length for the given number of points.

(pt float64)

Source from the content-addressed store, hash-verified

12
13// Points returns a length for the given number of points.
14func Points(pt float64) Length {
15 return font.Points(pt)
16}
17
18// Common lengths.
19const (

Callers 15

newLegendFunction · 0.92
TestLegendAlignmentFunction · 0.92
ThumbnailMethod · 0.92
ExampleLegend_standaloneFunction · 0.92
makeAxisFunction · 0.92
TestAxisPaddingFunction · 0.92
DrawGlyphBoxesMethod · 0.92
ExampleAlignFunction · 0.92
ExampleScatter_colorFunction · 0.92
ExampleBoxPlotFunction · 0.92
ExampleQuartPlotFunction · 0.92

Calls 1

PointsFunction · 0.92

Tested by 15

TestLegendAlignmentFunction · 0.74
ThumbnailMethod · 0.74
ExampleLegend_standaloneFunction · 0.74
TestAxisPaddingFunction · 0.74
ExampleAlignFunction · 0.74
ExampleScatter_colorFunction · 0.74
ExampleBoxPlotFunction · 0.74
ExampleQuartPlotFunction · 0.74
ExampleSankey_simpleFunction · 0.74
ExampleSankey_groupedFunction · 0.74
ExampleScatterFunction · 0.74