Hello,

I have mesh (more exactly: just a bunch of nodes) description with values 
associated to the nodes in a file, e.g. for a
3x3 mesh:

0   0   10
0   0.3 11
0   0.6 12
0.3 0   20
0.3 0.3 21
0.3 0.6 22
0.6 0   30
0.6 0.3 31
0.6 0.6 32

What is best way to read it in and get data structures like the ones I get from 
np.meshgrid?

Of course, I know about np.loadtxt, but I'm having trouble getting the 
resulting arrays (x, y, values) in the right form
and to retain association to the values.

Thanks,
Florian
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to