On Fri, 1 Feb 2008, Stephen George wrote:
> bit confused what your asking.
> are you looking for the pylab API savefig
Yes, it turns out that I am.
> or you asking how to convert your variable+.png into a filename?
> is your variable a number?, string?
The variable is a string, and I do want to use it as a file name.
> pylab.savefig('%s.png'% curVar)
I wasn't aware of the savefig() function, and was trying to use save()
instead. As soon as I made that change, it worked.
Thanks for the lesson!
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