I am currently have a nx3 matrix array. I want plot the three columns as three axis's. How can I do that?
I have googled and people suggested using Matlab, but I am really having a hard time with understanding it. I also need it be a scatter plot.
Can someone teach me?
Use the following code it worked for me:
while X_iso is my 3-D array and for X_vals, Y_vals, Z_vals I copied/used 1 column/axis from that array and assigned to those variables/arrays respectively.
Mayavi is a tool for easy and interactive visualization of data, with seamless integration with Python scientific libraries.
more details about Mayavi
Use asymptote instead!
This is what it can look like:
http://asymptote.sourceforge.net/gallery/3D%20graphs/helix.pdf
This is the code: http://asymptote.sourceforge.net/gallery/3D%20graphs/helix.asy
Asymptote can also read in data files.
And the full gallery: http://asymptote.sourceforge.net/gallery/
To use asymptote from within Python:
http://www.tex.ac.uk/tex-archive/graphics/asymptote/base/asymptote.py
You can use matplotlib for this. matplotlib has a mplot3d module that will do exactly what you want.
The code above generates a figure like: