[SciPy-user] Problems with numpy.ndarray

Alan G Isaac aisaac at american.edu
Wed Nov 15 10:24:03 CST 2006

On Wed, 15 Nov 2006, Frank Zwaard apparently wrote:
> from numpy import r_, sin
> from pylab import plot, show
> x = r_[0:10]
> y = sin(x)
> plot(x, y, 'o')
> show()
> But I get the same problem, every data in plotted on the axis x=0

I do not see this problem (numpy 1.0 and matplotlib 0.87.7).
Are your matploblib and numpy versions compatible?

Alan Isaac

More information about the SciPy-user mailing list