Plotting a simple 3d numpy array using matplotlib
<p>I want to plot the result of a numerical method for a three dimensional system of ODEs. My output is in the form (let's suppose we have computed three steps):</p>

<pre><code>import numpy as np
v= np.array([[1,2,3], [4,5,6], [7,8,9]])
</code></pre>

<p>Where the first value in every 3-tuple is the x coordinate, the second is y coordinate and the third is the z coordinate.</p>

<p>I would like the most simple and efficient way of plotting these points on a 3D grid. The problem seems to be that the data should be formated like <code>np.array([[1,4,7], [2,5,8], [3,6,9]])</code>. </p>