Date: Feb 19, 2013 4:40 PM
Author: Toan Cao
Subject: plot a 3D graph
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,