Class: Func

Table of Contents

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)')
Base Classes |
--- | ---
PlotItem
Methods |
--- | ---
__init__ get_base_command_string
| __init__
    __init__ (
            self,
            function,
            **keyw,
            )
| get_base_command_string
    get_base_command_string ( self )

Table of Contents

This document was automatically generated on Sun Oct 19 17:10:22 2003 by HappyDoc version 2.1