Versions in this module Expand all Collapse all v0 v0.5.0 Jun 12, 2019 Changes in this version + var KiT_Plot2D = kit.Types.AddType(&Plot2D{}, Plot2DProps) + var Plot2DProps = ki.Props + var PlotColorNames = []string + func PlotViewSVG(plt *plot.Plot, svge *svg.Editor, scale float64) + func SaveSVGView(fname string, plt *plot.Plot, svge *svg.Editor, scale float64) error + func StringViewSVG(svgstr string, svge *svg.Editor, scale float64) + type ColParams struct + Col string + Color gi.Color + ColorName gi.ColorName + ErrCol string + FullRange minmax.F64 + Lbl string + NTicks int + On bool + Plot *Plot2D + Range minmax.Range64 + TensorIdx int + func (cp *ColParams) Defaults() + func (cp *ColParams) Label() string + func (cp *ColParams) Update() + func (cp *ColParams) UpdateVals() + type Plot2D struct + Cols []*ColParams + DataFile gi.FileName + GPlot *plot.Plot + InPlot bool + Params PlotParams + SVGFile gi.FileName + Table *etable.Table + func AddNewPlot2D(parent ki.Ki, name string) *Plot2D + func (pl *Plot2D) ColParams(colNm string) *ColParams + func (pl *Plot2D) ColParamsTry(colNm string) (*ColParams, error) + func (pl *Plot2D) ColsConfig() + func (pl *Plot2D) ColsLay() *gi.Frame + func (pl *Plot2D) ColsListUpdate() + func (pl *Plot2D) ColsUpdate() + func (pl *Plot2D) Config() + func (pl *Plot2D) Defaults() + func (pl *Plot2D) GenPlot() + func (pl *Plot2D) GoUpdate() + func (pl *Plot2D) IsConfiged() bool + func (pl *Plot2D) PlotConfig() + func (pl *Plot2D) PlotLay() *gi.Layout + func (pl *Plot2D) SVGPlot() *svg.Editor + func (pl *Plot2D) SaveData(fname gi.FileName) + func (pl *Plot2D) SaveSVG(fname gi.FileName) + func (pl *Plot2D) SetColParams(colNm string, on bool, fixMin bool, min float64, fixMax bool, max float64) + func (pl *Plot2D) SetTable(tab *etable.Table) + func (pl *Plot2D) Style2D() + func (pl *Plot2D) Toolbar() *gi.ToolBar + func (pl *Plot2D) ToolbarConfig() + func (pl *Plot2D) Update() + func (pl *Plot2D) XLabel() string + func (pl *Plot2D) YLabel() string + type PlotParams struct + LineWidth float64 + Plot *Plot2D + Scale float64 + Title string + XAxisCol string + XAxisLabel string + YAxisLabel string + func (pp *PlotParams) Defaults() + func (pp *PlotParams) Update() + type TableXY struct + Table *etable.Table + XCol int + XIdx int + YCol int + YIdx int + func NewTableXY(dt *etable.Table, xcol, ycol int) (*TableXY, error) + func NewTableXYNames(dt *etable.Table, xcol, ycol string) (*TableXY, error) + func (txy *TableXY) Len() int + func (txy *TableXY) Validate() error + func (txy *TableXY) XY(row int) (x, y float64) Other modules containing this package goki.dev/etable/v2