How about Numpy's loadtxt()? Genfromtext is more of a specialty function.
On Monday, August 29, 2011, Alexa Villaume <email@example.com> wrote:
> Hi there,
> I have a 2d array that I'd like to contour. The plot isn't turning out right and I think it's because the array isn't be read in correctly.
> It's a 25x41 array that is in a text file. I have tried using genfromtxt and the asciitable module to read the data in and neither gives the correct output.
> Does anyone know of any command either specific for reading in 2d arrays or is able to handle 2d arrays?