Documentation ¶
Index ¶
- type InfoPlotter
- func (ip *InfoPlotter) AddPoint(x, y float64)
- func (ip *InfoPlotter) PlotFunc(color color.Color, fn func(x float64) float64)
- func (ip *InfoPlotter) SaveToFile(ctx context.Context, filename string) error
- func (ip *InfoPlotter) SetPlotColor(color color.Color)
- func (ip *InfoPlotter) SetYLabel(label string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoPlotter ¶
type InfoPlotter struct {
// contains filtered or unexported fields
}
func NewInfoPlotter ¶
func NewInfoPlotter(bufferSize int) *InfoPlotter
func (*InfoPlotter) AddPoint ¶
func (ip *InfoPlotter) AddPoint(x, y float64)
func (*InfoPlotter) PlotFunc ¶
func (ip *InfoPlotter) PlotFunc(color color.Color, fn func(x float64) float64)
func (*InfoPlotter) SaveToFile ¶
func (ip *InfoPlotter) SaveToFile(ctx context.Context, filename string) error
func (*InfoPlotter) SetPlotColor ¶
func (ip *InfoPlotter) SetPlotColor(color color.Color)
func (*InfoPlotter) SetYLabel ¶
func (ip *InfoPlotter) SetYLabel(label string)
Click to show internal directories.
Click to hide internal directories.