Documentation ¶
Index ¶
- func DrawBoxGlyph(cx, cy, rat float32)
- func DrawCircle(cx, cy, r float32, numSegments int, rat float32)
- func DrawCrossGlyph(cx, cy, rat float32)
- func DrawTriangleGlyph(cx, cy, rat float32)
- func DrawXGlyph(cx, cy, rat float32)
- func ToFloat32Slice(A []float64) (R []float32)
- type Chart2D
- func (cc *Chart2D) AddColorMap(cm *utils.ColorMap)
- func (cc *Chart2D) AddFunctionSurface(name string, fs functions.FSurface, lineType LineType, lineColor color.RGBA) (err error)
- func (cc *Chart2D) AddSeries(name string, xI, fI interface{}, gl GlyphType, lt LineType, co color.RGBA) (err error)
- func (cc *Chart2D) AddTriMesh(name string, Tris graphics2D.TriMesh, gl GlyphType, lt LineType, co color.RGBA) (err error)
- func (cc *Chart2D) AddVectors(name string, Geom []graphics2D.Point, vectors [][2]float64, lt LineType, ...) (err error)
- func (cc *Chart2D) Plot()
- func (cc *Chart2D) StopPlot()
- type GlyphType
- type LineType
- type NewDataMsg
- type RangeMap
- type Screen
- type Series
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawBoxGlyph ¶
func DrawBoxGlyph(cx, cy, rat float32)
func DrawCircle ¶
func DrawCrossGlyph ¶
func DrawCrossGlyph(cx, cy, rat float32)
func DrawTriangleGlyph ¶
func DrawTriangleGlyph(cx, cy, rat float32)
func DrawXGlyph ¶
func DrawXGlyph(cx, cy, rat float32)
func ToFloat32Slice ¶ added in v0.0.2
Types ¶
type Chart2D ¶
func NewChart2D ¶
func (*Chart2D) AddColorMap ¶ added in v0.0.5
func (*Chart2D) AddFunctionSurface ¶ added in v0.0.6
func (*Chart2D) AddTriMesh ¶ added in v0.0.4
func (*Chart2D) AddVectors ¶ added in v0.0.5
type NewDataMsg ¶
type RangeMap ¶
type RangeMap struct {
// contains filtered or unexported fields
}
func NewRangeMap ¶
func (*RangeMap) GetMappedCoordinate ¶
Click to show internal directories.
Click to hide internal directories.