MCPcopy Create free account

hub / github.com/arafatkatze/glot / functions

Functions36 in github.com/arafatkatze/glot

↓ 12 callersMethodCmd
Cmd sends a command to the gnuplot subprocess and returns an error if something bad happened in the gnuplot process. ex: fname := "foo.dat" err :=
core.go:79
↓ 9 callersMethodplotX
(PointGroup *PointGroup)
glot.go:66
↓ 7 callersMethodplotXY
(PointGroup *PointGroup)
glot.go:95
↓ 7 callersMethodplotXYZ
(points *PointGroup)
glot.go:131
↓ 6 callersMethodError
()
core.go:46
↓ 5 callersFunctionNewPlot
NewPlot Function makes a new plot with the specified dimensions. Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimens
glot.go:49
↓ 4 callersFunctionmin
The default style for a curve
core.go:17
↓ 3 callersMethodAddPointGroup
AddPointGroup function adds a group of points to a plot. Usage dimensions := 2 persist := false debug := false plot, _ := glot.NewPlot(dimensions, pe
pointgroup.go:29
↓ 3 callersMethodCheckedCmd
CheckedCmd is a convenience wrapper around Cmd: it will error if the error returned by Cmd isn't nil. ex: fname := "foo.dat" p.CheckedCmd("plot %s"
core.go:97
↓ 3 callersMethodClose
Close makes sure all resources used by the gnuplot subprocess are reclaimed. This method is typically called when the Plotter instance is not needed a
core.go:114
↓ 2 callersMethodcleanplot
()
core.go:123
↓ 1 callersMethodAddFunc3d
AddFunc3d is used to make a 3-d plot of the format z = Function(x,y) Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(di
function.go:70
↓ 1 callersMethodRemovePointGroup
RemovePointGroup helps to remove a particular point group from the plot. This way you can remove a pointgroup if it's un-necessary. Usage dimensions
pointgroup.go:284
↓ 1 callersMethodResetPlot
ResetPlot is used to reset the whole plot. This removes all the PointGroup's from the plot and makes it new. Usage plot.ResetPlot()
core.go:134
↓ 1 callersMethodResetPointGroupStyle
ResetPointGroupStyle helps to reset the style of a particular point group in a plot. Using both AddPointGroup and RemovePointGroup you can add or remo
pointgroup.go:303
↓ 1 callersMethodSetFormat
SetFormat function is used to save the plot at this point. The plot is dynamic and additional pointgroups can be added and removed and different versi
common.go:199
↓ 1 callersMethodSetLabels
SetLabels Functions helps to set labels for x, y, z axis simultaneously Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlo
common.go:72
↓ 1 callersMethodSetXLabel
SetXLabel changes the label for the x-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:30
↓ 1 callersMethodSetYLabel
SetYLabel changes the label for the y-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:44
↓ 1 callersMethodSetZLabel
SetZLabel changes the label for the z-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:58
↓ 1 callersFunctionnewPlotterProc
newPlotterProc function makes the plotterProcess struct
core.go:57
MethodAddFunc2d
AddFunc2d is used to make a 2-d plot of the format y = Function(x) Usage dimensions := 2 persist := false debug := false plot, _ := glot.NewPlot(dime
function.go:33
MethodSavePlot
SavePlot function is used to save the plot at this point. The plot is dynamic and additional pointgroups can be added and removed and different versio
common.go:173
FunctionSetCustomPathToGNUPlot
(path string)
core.go:140
MethodSetLogscale
SetLogscale changes the label for the x-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug
common.go:128
MethodSetTitle
SetTitle sets the title for the plot Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug) plot.A
common.go:16
MethodSetXrange
SetXrange changes the label for the x-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:114
MethodSetYrange
SetYrange changes the label for the y-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:142
MethodSetZrange
SetZrange changes the label for the z-axis Usage dimensions := 3 persist := false debug := false plot, _ := glot.NewPlot(dimensions, persist, debug)
common.go:156
FunctionTestAddFunc3d
(t *testing.T)
function_test.go:7
FunctionTestMin
(t *testing.T)
core_test.go:5
FunctionTestNewPlot
(t *testing.T)
glot_test.go:5
FunctionTestResetPointGroupStyle
(t *testing.T)
pointgroup_test.go:5
FunctionTestSetFormat
(t *testing.T)
common_test.go:16
FunctionTestSetLabels
(t *testing.T)
common_test.go:5
Functioninit
Function to intialize the package and check for GNU plot installation This raises an error if GNU plot is not installed
core.go:26