[SciPy-dev] gplt suggestion: initcmd

Alan G Isaac aisaac at american.edu
Fri Jul 15 19:50:42 CDT 2005

On Fri, 15 Jul 2005, Fernando Perez apparently wrote: 
> 3. Change the scipy and plotting tutorials to use matplotlib. 

Here is the figure 2 tutorial.
Note that the tutorial incorrectly refers to linear_1d,
which no longer exists.  (Line 331 of ltisys.py also
calls this defunct function and needs to be fixed.)

Alan Isaac

x = arange(0,10)
y = exp(-x/3.0)
from scipy.interpolate import interp1d
f = interp1d(x,y)
xnew = arange(0,9,0.1)
import pylab
pylab.legend(['Actual', 'Interpolated'])

More information about the Scipy-dev mailing list