Re: [Matplotlib-users] Plot array of arrays

2007-10-02 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, Thanks for the help. This was a big clue. It turns out that what I thought was an array of arrays was actually a list of arrays. If my list was y, running plot(x,array(y).transpose()) solved the problem! Thanks for your help, Dave Alan G

Re: [Matplotlib-users] Plot array of arrays

2007-10-01 Thread Alan G Isaac
On Mon, 01 Oct 2007, David D Clark apparently wrote: y=[array([f(x0)]),array([f(x1)]),array([f(x2)])...] and x=array([x0,x1,x2,...]) I want to plot the family of curves y=f(x). plot(x,y[n]) where n is the nth array in y plots the correct curve, however plot(x,y) and plot(x,y[:]) complain