On Fri, 1 Feb 2008, Stephen George wrote:
bit confused what your asking.
are you looking for the pylab API savefig
Stephen/Alan/Chloe:
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
I want to save plots programmatically, using a variable + .png as the
filename. I don't see an example of the proper syntax, and my
trial-and-error approach hasn't yielded a solution, either.
If I want to write
pylab.save(curVar.png)
where 'curVar' is a variable assigned
On Thu, 31 Jan 2008, Rich Shepard apparently wrote:
If I want to write
pylab.save(curVar.png)
where 'curVar' is a variable assigned programmatically, how do I correctly
write it?
Use string concatenation:
curVar+'.png'
Hi Rich,
bit confused what your asking.
are you looking for the pylab API savefig
http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-savefig
or you asking how to convert your variable+.png into a filename?
is your variable a number?, string?
for count in range(3):
count = count +1