Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralOptions ¶
type LinePlot ¶
type LinePlot struct {
*Plotter
Options *LinePlotOptions
}
LinePlot 繪製折線圖的結構體
func NewLinePlot ¶
func NewLinePlot(data []float64, plotter *Plotter, options *LinePlotOptions) *LinePlot
NewLinePlot 創建一個新的 LinePlot
type LinePlotOptions ¶
type Plot ¶
type Plot interface {
Draw()
Save(outputFile string)
}
Plot is an interface that defines the methods for plotting
type Plotter ¶
type Plotter struct {
// contains filtered or unexported fields
}
Plotter is a struct that contains the data to be plotted
func NewPlotter ¶
func NewPlotter(data interface{}, options *GeneralOptions) *Plotter
NewPlotter creates a new Plotter instance
Click to show internal directories.
Click to hide internal directories.