Versions in this module Expand all Collapse all v0 v0.1.1 Oct 10, 2026 v0.1.0 Oct 10, 2026 Changes in this version + func Values(v any) []float64 + type Axes struct + Facecolor colors.RGBA + func (a *Axes) Annotate(s string, x, y, tx, ty float64, opts ...Option) + func (a *Axes) Axhline(y float64, opts ...Option) + func (a *Axes) Axvline(x float64, opts ...Option) + func (a *Axes) Bar(x, height any, opts ...Option) + func (a *Axes) Barh(y, width any, opts ...Option) + func (a *Axes) Contour(x, y, z any, opts ...Option) *Mappable + func (a *Axes) Contourf(x, y, z any, opts ...Option) *Mappable + func (a *Axes) ErrorBar(x, y any, opts ...Option) + func (a *Axes) Figure() *Figure + func (a *Axes) FillBetween(x, y1, y2 any, opts ...Option) + func (a *Axes) Grid(on bool) + func (a *Axes) Hist(x any, opts ...Option) + func (a *Axes) Imshow(data any, opts ...Option) *Mappable + func (a *Axes) Legend(opts ...Option) + func (a *Axes) Plot(x, y any, opts ...Option) + func (a *Axes) Scatter(x, y any, opts ...Option) *Mappable + func (a *Axes) SetAspect(r float64) + func (a *Axes) SetTitle(s string) + func (a *Axes) SetXLabel(s string) + func (a *Axes) SetXLim(lo, hi float64) + func (a *Axes) SetXScale(s string) + func (a *Axes) SetXTicks(locs []float64, labels ...string) + func (a *Axes) SetYLabel(s string) + func (a *Axes) SetYLim(lo, hi float64) + func (a *Axes) SetYScale(s string) + func (a *Axes) SetYTicks(locs []float64, labels ...string) + func (a *Axes) Text(x, y float64, s string, opts ...Option) + func (a *Axes) TwinX() *Axes + func (a *Axes) XLim() (float64, float64) + func (a *Axes) YLim() (float64, float64) + type FigOption func(*Figure) + func DPI(d float64) FigOption + func FigSize(w, h float64) FigOption + type Figure struct + DPI float64 + Facecolor colors.RGBA + Height float64 + SubplotParams SubplotParams + Text text.Renderer + Width float64 + func NewFigure(opts ...FigOption) *Figure + func Subplots(rows, cols int, opts ...FigOption) (*Figure, [][]*Axes) + func (f *Figure) AddAxes(left, bottom, width, height float64) *Axes + func (f *Figure) Axes() []*Axes + func (f *Figure) Colorbar(m *Mappable, ax *Axes) *Axes + func (f *Figure) Display() map[string][]byte + func (f *Figure) Draw(r render.Renderer) + func (f *Figure) Image() *render.Raster + func (f *Figure) PixelSize() (w, h int) + func (f *Figure) SavePNG(w io.Writer) error + func (f *Figure) SaveSVG(w io.Writer) error + func (f *Figure) Subplots(rows, cols int) [][]*Axes + func (f *Figure) TightLayout() bool + type Mappable struct + Cmap *colors.Colormap + Norm colors.Norm + type Option func(*props) + func Align(a string) Option + func Alpha(a float64) Option + func Arrow() Option + func Aspect(a string) Option + func BinEdges(e ...float64) Option + func Bins(n int) Option + func Bottom(b float64) Option + func CValues(v any) Option + func CapSize(s float64) Option + func Clip(on bool) Option + func Cmap(name string) Option + func Color(c string) Option + func Colors(cs ...string) Option + func Density() Option + func EdgeColor(c string) Option + func ErrorColor(c string) Option + func Extent(left, right, bottom, top float64) Option + func FaceColor(c string) Option + func FontSize(s float64) Option + func HA(a string) Option + func Label(s string) Option + func Levels(l ...float64) Option + func LineStyle(s string) Option + func LineWidth(w float64) Option + func Loc(s string) Option + func LogNorm() Option + func Marker(m string) Option + func MarkerEdgeWidth(w float64) Option + func MarkerSize(s float64) Option + func NLevels(n int) Option + func Origin(o string) Option + func RGBA(r, g, b, a float64) Option + func Rotation(deg float64) Option + func Sizes(v any) Option + func VA(a string) Option + func Vmax(v float64) Option + func Vmin(v float64) Option + func Where(mask []bool) Option + func Width(w float64) Option + func XErr(v any) Option + func YErr(v any) Option + func ZOrder(z float64) Option + type SubplotParams struct + Bottom float64 + HSpace float64 + Left float64 + Right float64 + Top float64 + WSpace float64