how to calculate meshgrid in numpy with 3 or more parameter

Viewed 17

I understand the concept of meshgrid when it has two parameters, but I don't understand when the number of input parameters is 3 or more, e.g.:

x = np.linspace(3, 4, 4) 
y = np.linspace(0, 1, 3)
z = np.linspace(2,3,5)
x1, y1,z1 = np.meshgrid(x,y,z)
x1

can any one to explain it ? thanks!

0 Answers
Related