Documentation
¶
Index ¶
- type XY
- func (xy *XY) AddXY(x, y float64)
- func (xy *XY) GetI(x, y float64) int
- func (xy *XY) GetX(i int) (x float64)
- func (xy *XY) GetXY(i int) (x, y float64)
- func (xy *XY) GetY(i int) (y float64)
- func (xy *XY) InsertXY(x, y float64, i int)
- func (xy *XY) Len() int
- func (xy *XY) RemoveXY(i int)
- func (xy *XY) ReplaceXY(x, y float64, i int)
- func (xy *XY) SortI(ascending bool) []int
- func (xy *XY) SortX(ascending bool) []int
- func (xy *XY) SortY(ascending bool) []int
- func (xy *XY) ViewX() *[]float64
- func (xy *XY) ViewY() *[]float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XY ¶
type XY struct {
Error string // Error string -- cleared when new function call is made to XYdata object
// contains filtered or unexported fields
}
xy data
func (*XY) GetI ¶
Finds the index of given X and/or Y value(s). Index is gone through in ascending order and the first match is returned. Use math.NaN() to disable matching.
Click to show internal directories.
Click to hide internal directories.