>w/o seeing the entire code it is difficult to diagnose.  Nothing looks
>wrong with your code.  However, for full control I suggest you use the
>API; see examples at
>http://matplotlib.sourceforge.net/examples/api/index.html and take a
>look at the "artist tutorial" at
>http://matplotlib.sourceforge.net/users/artists.html.

Thank you.  The tutorial was very helpful.  For a moment I thought I might
have found the answer with the lines.remove() function but alas, it did not
make a difference yet again.  :(  I am starting to feel that this is a
problem with my setup rather than my code.  I may have to try this on
someone else's computer.

>In a nutshell

>fig = plt.figure()
>ax = fig.add_subplot(111)
>for param in myparams:
>    fig.clf()
>    ax.plot(something_with(param))
>    ax.set_ylabel('Sum Squared Error')
>    ax.set_title('Plot of Iris Training Errors')
>    ax.set_ylim(ymin=0)
>    outfilename = '%d.png'%param
>    fig.savefig(outfilename)

This is almost exactly the same as something else I have tried but this is
all to no avail.  I have posted all of my code at
http://code-bin.homedns.org/653 if anyone has time to look at it.
------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
View this message in context: 
http://old.nabble.com/Clearing-A-Figure-%28I-Know-That-This-Has-Been-Posted-Before-But-I-Does-Not-Work-For-Me%29-tp28665976p28678426.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to