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

Table of Contents

This document was automatically generated on Mon Jul 29 17:26:13 2002 by HappyDoc version 2.0.1