![](https://secure.gravatar.com/avatar/24a5c34775865275798ef68b5cd45d70.jpg?s=120&d=mm&r=g)
Friends, I have a data file containing three vectors x,y,z and want to create a coordinate matrices from three vectors. While i know that the numpy's meshgrid function can be used for two vectors, i dnt any tool which i can use for three dimension. Kindly suggest me some solution. Thanks, Bala
![](https://secure.gravatar.com/avatar/3d3176cf99cae23d0ac119d1ea6c4d11.jpg?s=120&d=mm&r=g)
On Wed, Nov 23, 2011 at 3:29 PM, Bala subramanian <bala.biophysics@gmail.com
wrote:
Friends, I have a data file containing three vectors x,y,z and want to create a coordinate matrices from three vectors. While i know that the numpy's meshgrid function can be used for two vectors, i dnt any tool which i can use for three dimension. Kindly suggest me some solution.
Try the enhanced meshgrid attached to http://projects.scipy.org/numpy/ticket/966.
Cheers, Ralf
participants (2)
-
Bala subramanian
-
Ralf Gommers