Package empro :: Package toolkit :: Module graphing
[frames] | no frames]

Module graphing

source code

Functions
empro.graphing.Graph
makeXYGraph(dataset1, dataset2, ..., **kwargs)
makeXYGraph(L{DataSetMatrix}, ..., **kwargs) -> L{empro.graphing.Graph} makeXYGraph(L{CitiFile}, ..., **kwargs) -> L{empro.graphing.Graph}
source code
empro.graphing.Graph
showXYGraph(*args, **kwargs)
Equivalent to: graph = makeXYGraph(*args, **kwargs) return showGraph(graph)
source code
empro.graphing.Graph
makeSmithGraph(dataset1, dataset2, ..., **kwargs) source code
empro.graphing.Graph
showSmithGraph(*args, **kwargs)
Equivalent to: graph = makeSmithGraph(*args, **kwargs) return showGraph(graph)
source code
 
makePolarGraph(*datasets, **kwargs) source code
empro.graphing.Graph
showPolarGraph(*args, **kwargs)
Equivalent to: graph = makePolarGraph(*args, **kwargs) return showGraph(graph)
source code
empro.graphing.Graph
showGraph(graph)
Add graph to the active project's graphs list and return a reference to it.
source code
Function Details

makeXYGraph(dataset1, dataset2, ..., **kwargs)

source code 
makeXYGraph(L{DataSetMatrix}, ..., **kwargs) -> L{empro.graphing.Graph}
makeXYGraph(L{CitiFile}, ..., **kwargs) -> L{empro.graphing.Graph}

returns a XY graph of one or more datasets, dataset matrice or citi files.

Optional keyword arguments are:
- graph: if specified the plot is added to the graph, else a new graph is created
- title: string to be displayed as title of graph
- names: sequence of dataset names to be used in legend.
- xUnit, yUnit: unit per axis
- xBounds, yBounds: (min, max) bounds per axis.
- xLabel, yLabel: caption per axis.

Returns: empro.graphing.Graph

showGraph(graph)

source code 

Add graph to the active project's graphs list and return a reference to it. The return object is not necessarily the same one as the argument as a copy can be made.

Returns: empro.graphing.Graph