Re: [Matplotlib-users] Non-interactive plotting to window?

2011-12-16 Thread John Thorstensen
x.lines[0] except : pass line, = ax.plot(x,y,'-') plt.draw() print "stop or go?" c = raw_input() x = x + 0.5 ** John Thorstensen wrote: > > I have a sizeable number of python data-inspection scripts that work as > follows: > > - read so

[Matplotlib-users] Non-interactive plotting to window?

2011-12-15 Thread John Thorstensen
I have a sizeable number of python data-inspection scripts that work as follows: - read some data, or do something with it - plot the data - query the user on the command line and get a response - do what the user commands. These use the venerable PGPLOT package for the graphics, but this has be