The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: plot a 3D graph
Replies: 2   Last Post: Feb 27, 2013 12:45 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Toan Cao

Posts: 55
Registered: 10/15/10
plot a 3D graph
Posted: Feb 19, 2013 4:40 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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,

Date Subject Author
Read plot a 3D graph
Toan Cao
Read Re: plot a 3D graph
Toan Cao

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.