Plots Not Properly Closed

I have three unresolved issues in the attached code, and I'd like to
resolve the first two on this thread. (The third issue relates to plotting
using only the left and bottom axes rather than a complete frame.)

   Issue #1: I am apparently not properly closing/clearing a plot. There are
three plots in the test data set, and when the last one (with three curves
on a common set of axes) is the only one plotted, it is correctly done. But,
when it follows the 2-curve plots, they are also displayed.

   I probably am turning .hold() off and on in the wrong places, but I don't
know where the right places are. On a side note, if I try to use plot.hold()
to toggle the hold state off python throws an error. I need to explicitly
use plot.hold(False).

   Issue #2: Is there a way to define the parameters for the Gaussian curve
so the end points are actually 0.0 on the y axis while the mid point is as
specified?

Rich

termset-test-data.py (2.98 KB)

testFunctions.py (4.92 KB)

···

--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

Issue #1: I am apparently not properly closing/clearing a plot. There are
three plots in the test data set, and when the last one (with three curves
on a common set of axes) is the only one plotted, it is correctly done. But,
when it follows the 2-curve plots, they are also displayed.

   Fixed: I discovered .close() and added that to the end of each plot's
content.

   Still need advice on #2.

Issue #2: Is there a way to define the parameters for the Gaussian curve
so the end points are actually 0.0 on the y axis while the mid point is as
specified?

Rich

···

On Sat, 22 Mar 2008, Rich Shepard wrote:

--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863