savefig works for me when I put both the plotting commands and the savefig
call in the *same* code cell.
On Thu, Jun 13, 2013 at 10:31 AM, Sudheer Joseph
wrote:
> Thank you,
> I don't see a way other than starting in normal mode as the moment I type
> plot command it get displayed and I don't ne
I think what you are asking for is interpolation. You have a set of
(x,y) data, and you want to find a new y-value corresponding to a
given x-value.
Take a look at scipy.interpolate.interp1d
import numpy
import scipy
import scipy.interpolate
# Set up fake "data".
x= numpy.arange(10)
y = numpy.sin