Re: [Matplotlib-users] pylab.save() File Name Syntax

2008-02-01 Thread Rich Shepard
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

Re: [Matplotlib-users] pylab.save() File Name Syntax

2008-01-31 Thread Stephen George
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

Re: [Matplotlib-users] pylab.save() File Name Syntax

2008-01-31 Thread Alan G Isaac
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' http://docs.python.org/tut/node5.html#SECTION005120