[Numpy-discussion] creating mesh data from xyz data

Giuseppe Aprea giuseppe.aprea@gmail....
Tue Sep 8 09:29:06 CDT 2009

Hi list,

I have some files with data stored in columns:

x1     y1     z1
x2     y2     z2
x3     y3     z3
x4     y4     z4
x5     y5     z5

and I need to make a contour plot of this data using matplotlib. The
problem is that contour plot functions usually handle a different kind
of input:




I usually load data using 3 lists: x, y and z; I wonder if there is
any function which is able to take these 3 lists and return the right
inputs for matplotlib functions.



More information about the NumPy-Discussion mailing list