Versions in this module Expand all Collapse all v0 v0.3.7 Dec 10, 2024 v0.3.6 Dec 9, 2024 v0.3.5 Oct 19, 2024 v0.3.4 Sep 30, 2024 v0.3.3 Sep 9, 2024 Changes in this version type Plot + SetRangesFunc func() v0.3.2 Aug 17, 2024 v0.3.1 Aug 2, 2024 v0.3.0 Jul 24, 2024 Changes in this version type PlotEditor + func (pl *PlotEditor) SetSlice(sl any) *PlotEditor type PlotOptions + Legend string + XAxis string v0.2.3 Jul 16, 2024 v0.2.2 Jul 14, 2024 v0.2.1 Jul 14, 2024 Changes in this version + type ColumnOptions struct + Color image.Image + Column string + ErrColumn string + FullRange minmax.F32 + IsString bool + Label string + LineWidth option.Option[float32] + Lines option.Option[bool] + NTicks int + On bool + Plot *PlotEditor + PointShape option.Option[plots.Shapes] + PointSize option.Option[float32] + Points option.Option[bool] + Range minmax.Range32 + TensorIndex int + func (co *ColumnOptions) CopyFrom(fr *ColumnOptions) + func (co *ColumnOptions) Defaults() + func (co *ColumnOptions) FromMetaMap(meta map[string]string) + func (co *ColumnOptions) GetLabel() string type PlotEditor + Options PlotOptions + func (pl *PlotEditor) ColumnOptions(column string) *ColumnOptions + func (pl *PlotEditor) ColumnOptionsTry(column string) (*ColumnOptions, error) + func (pl *PlotEditor) SetColumnOptions(column string, on bool, fixMin bool, min float32, fixMax bool, max float32) *ColumnOptions + func (t *PlotEditor) SetOptions(v PlotOptions) *PlotEditor + type PlotOptions struct + BarWidth float32 + LegendColumn string + LegendPosition plot.LegendPosition + LineWidth float32 + Lines bool + NegativeXDraw bool + Plot *PlotEditor + PointShape plots.Shapes + PointSize float32 + Points bool + Scale float32 + Title string + Type PlotTypes + XAxisColumn string + XAxisLabel string + XAxisRotation float32 + YAxisLabel string + func (po *PlotOptions) CopyFrom(fr *PlotOptions) + func (po *PlotOptions) Defaults() + func (po *PlotOptions) FromMeta(dt *table.Table) + func (po *PlotOptions) FromMetaMap(meta map[string]string) v0.2.0 Jun 20, 2024 Changes in this version + const FixMax + const FixMin + const FloatMax + const FloatMin + const Off + const On + const PlotColumnsHeaderN + var PlotEditorType = types.AddType(&types.Type{ ... }) + var PlotType = types.AddType(&types.Type{ ... }) + func MetaMapLower(meta map[string]string, key string) (string, bool) + type ColumnParams struct + Color color.Color + Column string + ErrColumn string + FullRange minmax.F32 + IsString bool + Lbl string + LineWidth option.Option[float32] + Lines option.Option[bool] + NTicks int + On bool + Plot *PlotEditor + PointShape option.Option[plots.Shapes] + PointSize option.Option[float32] + Points option.Option[bool] + Range minmax.Range32 + TensorIndex int + func (cp *ColumnParams) CopyFrom(fr *ColumnParams) + func (cp *ColumnParams) Defaults() + func (cp *ColumnParams) FromMetaMap(meta map[string]string) + func (cp *ColumnParams) Label() string + func (cp *ColumnParams) Update() + type Plot struct + Plot *plot.Plot + Scale float32 + func NewPlot(parent ...tree.Node) *Plot + func (pt *Plot) Init() + func (pt *Plot) Render() + func (pt *Plot) SavePNG(filename core.Filename) error + func (pt *Plot) SavePlot(filename core.Filename) error + func (pt *Plot) SetPlot(pl *plot.Plot) + func (pt *Plot) SizeFinal() + func (pt *Plot) UpdatePlot() + func (pt *Plot) WidgetTooltip(pos image.Point) (string, image.Point) + func (t *Plot) New() tree.Node + func (t *Plot) NodeType() *types.Type + func (t *Plot) SetScale(v float32) *Plot + type PlotEditor struct + Columns []*ColumnParams + ConfigPlotFunc func() + DataFile core.Filename + InPlot bool + Params PlotParams + Plot *plot.Plot + SVGFile core.Filename + Table *table.IndexView + func NewPlotEditor(parent ...tree.Node) *PlotEditor + func NewSubPlot(parent ...tree.Node) *PlotEditor + func (pl *PlotEditor) ColParamsTry(colNm string) (*ColumnParams, error) + func (pl *PlotEditor) ColumnParams(colNm string) *ColumnParams + func (pl *PlotEditor) ColumnsFrame() *core.Frame + func (pl *PlotEditor) ColumnsFromMetaMap(meta map[string]string) + func (pl *PlotEditor) ColumnsListUpdate() + func (pl *PlotEditor) ConfigPlot(plt *plot.Plot) + func (pl *PlotEditor) CopyFieldsFrom(frm tree.Node) + func (pl *PlotEditor) GenPlot() + func (pl *PlotEditor) GenPlotBar() + func (pl *PlotEditor) GenPlotXY() + func (pl *PlotEditor) GoUpdatePlot() + func (pl *PlotEditor) Init() + func (pl *PlotEditor) MakeToolbar(p *tree.Plan) + func (pl *PlotEditor) OpenCSV(filename core.Filename, delim table.Delims) + func (pl *PlotEditor) OpenFS(fsys fs.FS, filename core.Filename, delim table.Delims) + func (pl *PlotEditor) PlotChild() *Plot + func (pl *PlotEditor) PlotXAxis(plt *plot.Plot, ixvw *table.IndexView) (xi int, xview *table.IndexView, err error) + func (pl *PlotEditor) SaveAll(fname core.Filename) + func (pl *PlotEditor) SaveCSV(fname core.Filename, delim table.Delims) + func (pl *PlotEditor) SavePNG(fname core.Filename) + func (pl *PlotEditor) SaveSVG(fname core.Filename) + func (pl *PlotEditor) SetAllColumns(on bool) + func (pl *PlotEditor) SetColParams(colNm string, on bool, fixMin bool, min float32, fixMax bool, max float32) *ColumnParams + func (pl *PlotEditor) SetColumnsByName(nameContains string, on bool) + func (pl *PlotEditor) SetIndexView(tab *table.IndexView) *PlotEditor + func (pl *PlotEditor) SetTable(tab *table.Table) *PlotEditor + func (pl *PlotEditor) UpdatePlot() + func (pl *PlotEditor) XLabel() string + func (pl *PlotEditor) YLabel() string + func (pt *PlotEditor) SizeFinal() + func (t *PlotEditor) New() tree.Node + func (t *PlotEditor) NodeType() *types.Type + func (t *PlotEditor) SetConfigPlotFunc(v func()) *PlotEditor + func (t *PlotEditor) SetDataFile(v core.Filename) *PlotEditor + func (t *PlotEditor) SetParams(v PlotParams) *PlotEditor + func (t *PlotEditor) SetSVGFile(v core.Filename) *PlotEditor + type PlotParams struct + BarWidth float32 + LegendColumn string + LegendPosition plot.LegendPosition + LineWidth float32 + Lines bool + NegativeXDraw bool + Plot *PlotEditor + PointShape plots.Shapes + PointSize float32 + Points bool + Scale float32 + Title string + Type PlotTypes + XAxisColumn string + XAxisLabel string + XAxisRotation float32 + YAxisLabel string + func (pp *PlotParams) CopyFrom(fr *PlotParams) + func (pp *PlotParams) Defaults() + func (pp *PlotParams) FromMeta(dt *table.Table) + func (pp *PlotParams) FromMetaMap(meta map[string]string) + func (pp *PlotParams) Update() + type PlotTypes int32 + const Bar + const PlotTypesN + const XY + func PlotTypesValues() []PlotTypes + func (i *PlotTypes) SetInt64(in int64) + func (i *PlotTypes) SetString(s string) error + func (i *PlotTypes) UnmarshalText(text []byte) error + func (i PlotTypes) Desc() string + func (i PlotTypes) Int64() int64 + func (i PlotTypes) MarshalText() ([]byte, error) + func (i PlotTypes) String() string + func (i PlotTypes) Values() []enums.Enum + type TableXY struct + ErrColumn int + LabelColumn int + Table *table.IndexView + XColumn int + XIndex int + XRowSz int + YColumn int + YIndex int + YRange minmax.Range32 + YRowSz int + func NewTableXY(dt *table.IndexView, xcol, xtsrIndex, ycol, ytsrIndex int, yrng minmax.Range32) (*TableXY, error) + func NewTableXYName(dt *table.IndexView, xi, xtsrIndex int, ycol string, ytsrIndex int, ...) (*TableXY, error) + func (txy *TableXY) FilterValues() + func (txy *TableXY) Label(row int) string + func (txy *TableXY) Len() int + func (txy *TableXY) TRowValue(row int) float32 + func (txy *TableXY) TRowXValue(row int) float32 + func (txy *TableXY) Validate() error + func (txy *TableXY) Value(row int) float32 + func (txy *TableXY) XValue(row int) float32 + func (txy *TableXY) XY(row int) (x, y float32) + func (txy *TableXY) YError(row int) (float32, float32)