Class: Func | Gnuplot/PlotItems.py | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents a mathematical expression to plot.Func represents a mathematical expression that is to be computed by gnuplot itself, as if you would type for example: gnuplot> plot sin(x) into gnuplot itself. The argument to the contructor is a string that should be a mathematical expression. Example: g.plot(Func('sin(x)', with='line 3')) As shorthand, a string passed to the plot method of a Gnuplot object is also treated as a Func: g.plot('sin(x)')
|