Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



plot a 3D graph
Posted:
Feb 19, 2013 4:40 PM


Hi everyone,
I make a 3D graph of N nodes (vertices of 3D point cloud). I also have an adjacency matrix A (its size: NxN) for this graph where A(i,j)=1 if node i and node j connect together. If not , A(i,j)=0. So, i want to display this graph in 3D where two nodes (i, j) are linked by a line if A(i, j)=1. I know there is a function "gplot" for 2D graph, but i can not find the one for 3D graph. Do you know how to display my graph in 3D? Hope to get your help!
Thanks in advance, Toan



