pyplot

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 7 Imported by: 4

README

pyplot

A Go library which allows for the creation of pyplot plotting scripts.

This project is in a very preliminary state and I won't have time to work on it for a little while. It works well enough to help me in my research projects, but use at your own risk.

Documentation

Index

Constants

View Source
const (
	Int pyplotType
	Number
	Bool
	String
	Array
	BoolArray
	NoneInt
	NoneNumber
	NoneBool
	NoneString
	NoneArray
)

Variables

This section is empty.

Functions

func ErrorBar

func ErrorBar(xs, ys []float64, opts ...Option)

func Execute

func Execute()

func Figure

func Figure(opts ...Option)

func Grid

func Grid(opts ...Option)

func InsertLine

func InsertLine(s string)

func Legend

func Legend(opts ...Option)

func Plot

func Plot(args ...interface{})

func RC

func RC(group string, opts ...Option)

func Reset

func Reset()

func SaveFig

func SaveFig(fname string, opts ...Option)

func Show

func Show()

func Title

func Title(s string, opts ...Option)

func XLabel

func XLabel(s string, opts ...Option)

func XLim

func XLim(args ...interface{})

func XScale

func XScale(scale string, opts ...Option)

func YLabel

func YLabel(s string, opts ...Option)

func YLim

func YLim(args ...interface{})

func YScale

func YScale(scale string, opts ...Option)

Types

type Option

type Option internalOption

func AA

func AA(val bool) Option

func Alpha

func Alpha(val float64) Option

func Animated

func Animated(val bool) Option

func Antialiased

func Antialiased(val bool) Option

func Axis

func Axis(val string) Option

func B

func B(intr interface{}) Option

func BackgroundColor

func BackgroundColor(val string) Option

func BarsAbove

func BarsAbove(val bool) Option

func BaseX

func BaseX(val float64) Option

func BaseY

func BaseY(val float64) Option

func BboxInches

func BboxInches(val float64) Option

func BboxToAnchor

func BboxToAnchor(x, y float64) Option

func BorderAxesPad

func BorderAxesPad(intr interface{}) Option

func BorderPad

func BorderPad(intr interface{}) Option

func C

func C(val string) Option

func CapSize

func CapSize(val float64) Option

func CapThick

func CapThick(val float64) Option

func ClipOn

func ClipOn(val bool) Option

func Color

func Color(val string) Option

func ColumnSpacing

func ColumnSpacing(intr interface{}) Option

func DPI

func DPI(intr interface{}) Option

func DashCapstyle

func DashCapstyle(val string) Option

func DashJoinstyle

func DashJoinstyle(val string) Option

func Dashes

func Dashes(vals []float64) Option

func EColor

func EColor(intr interface{}) Option

func ELineWidth

func ELineWidth(val float64) Option

func EdgeColor

func EdgeColor(val string) Option

func ErrorEvery

func ErrorEvery(val int) Option

func FaceColor

func FaceColor(val string) Option

func Family

func Family(val string) Option

func FancyBox

func FancyBox(intr interface{}) Option

func FigSize

func FigSize(x, y int) Option

func Fmt

func Fmt(intr interface{}) Option

func FontName

func FontName(val string) Option

func FontSize

func FontSize(val interface{}) Option

func FontStyle

func FontStyle(val string) Option

func FontWeight

func FontWeight(val string) Option

func Format

func Format(val string) Option

func FrameAlpha

func FrameAlpha(intr interface{}) Option

func FrameOn

func FrameOn(intr interface{}) Option

func HA

func HA(val string) Option

func HandleLength

func HandleLength(intr interface{}) Option

func HandleTextPad

func HandleTextPad(intr interface{}) Option

func HorizontalAlignment

func HorizontalAlignment(val string) Option

func LS

func LS(val string) Option

func LW

func LW(val float64) Option

func Label

func Label(val string) Option

func LabelSpacing

func LabelSpacing(intr interface{}) Option

func LinScaleX

func LinScaleX(val float64) Option

func LinScaleY

func LinScaleY(val float64) Option

func LinThreshX

func LinThreshX(val float64) Option

func LinThreshY

func LinThreshY(val float64) Option

func LineSpacing

func LineSpacing(val float64) Option

func LineStyle

func LineStyle(val string) Option

func LineWidth

func LineWidth(val string) Option

func LoD

func LoD(val bool) Option

func LoLims

func LoLims(intr interface{}) Option

func Loc

func Loc(intr interface{}) Option

func MEC

func MEC(val string) Option

func MEW

func MEW(val float64) Option

func MFC

func MFC(val string) Option

func MS

func MS(val float64) Option

func MarkEvery

func MarkEvery(val float64) Option

func Marker

func Marker(val string) Option

func MarkerEdgeColor

func MarkerEdgeColor(val string) Option

func MarkerEdgeWidth

func MarkerEdgeWidth(val float64) Option

func MarkerFaceColor

func MarkerFaceColor(val string) Option

func MarkerScale

func MarkerScale(intr interface{}) Option

func MarkerSize

func MarkerSize(val float64) Option

func Mode

func Mode(intr interface{}) Option

func MultiAlignment

func MultiAlignment(val string) Option

func NCol

func NCol(val int) Option

func Name

func Name(val string) Option

func NonPosX

func NonPosX(val string) Option

func NonPosY

func NonPosY(val string) Option

func Num

func Num(intr interface{}) Option

func NumPoints

func NumPoints(intr interface{}) Option

func Orientation

func Orientation(val string) Option

func PadInches

func PadInches(val float64) Option

func PaperType

func PaperType(val string) Option

func PickRadius

func PickRadius(val float64) Option

func Position

func Position(x, y float64) Option

func Rotation

func Rotation(intr interface{}) Option

func RotationMode

func RotationMode(intr interface{}) Option

func ScatterPoints

func ScatterPoints(intr interface{}) Option

func ScatterYOffsets

func ScatterYOffsets(vals []float64) Option

func Shadow

func Shadow(intr interface{}) Option

func Size

func Size(intr interface{}) Option

func SolidCapstyle

func SolidCapstyle(val string) Option

func SolidJoinstyle

func SolidJoinstyle(val string) Option

func Style

func Style(val string) Option

func SubsX

func SubsX(vals []int) Option

func SubsY

func SubsY(vals []int) Option

func Text

func Text(val string) Option

func Transparent

func Transparent(val bool) Option

func UpLims

func UpLims(intr interface{}) Option

func VA

func VA(val string) Option

func Variant

func Variant(val string) Option

func VerticalAlignment

func VerticalAlignment(val string) Option

func Visible

func Visible(val bool) Option

func Weight

func Weight(val string) Option

func Which

func Which(val string) Option

func X

func X(val float64) Option

func XData

func XData(vals []float64) Option

func XErr

func XErr(vals []float64) Option

func XLoLims

func XLoLims(intr interface{}) Option

func XMax

func XMax(intr interface{}) Option

func XMin

func XMin(intr interface{}) Option

func XUpLims

func XUpLims(intr interface{}) Option

func Y

func Y(val float64) Option

func YData

func YData(vals []float64) Option

func YErr

func YErr(vals []float64) Option

func YMax

func YMax(intr interface{}) Option

func YMin

func YMin(intr interface{}) Option

func ZOrder

func ZOrder(val float64) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL