`yampex.examples.exponential.CurvePlotter(object)`

class documentation

Part of `yampex.examples.exponential`

(View In Hierarchy)
I do the plotting.

Method | __init__ | Constructs a Yampex Plotter object for a figure with two subplots. |

Method | func | The exponential function a*exp(-b*X) |

Method | leastDiff | Returns the index of the vectors of Ys where there is the least
difference between their values. |

Method | subplot | Given the subplotting tool sp and the supplied 1-D Numpy array of
X values, plots the curves for each combination of a in
aVals and b in bVals. |

Method | plot | Plots the curves for each combination of a in aVals and
its corresponding b in bVals, from my xMin to my
xMax and from zero to double my xMax. |

def
leastDiff(self, Ys, logspace=False):

Returns the index of the vectors of *Ys* where there is the least
difference between their values.

Set *logspace* `True`

to have the difference calculated
in logspace, for a semilog plot.