|
Calling Sequence
|
|
graphplot3d(G, eigenopts, opts)
|
|
Parameters
|
|
G
|
-
|
real symmetric Matrix
|
eigenopts
|
-
|
(optional) specifies vertex numbers
|
opts
|
-
|
equations of form option=value
|
|
|
|
|
Description
|
|
•
|
This routine draws an undirected graph in three dimensions in such a way that structure and symmetry in the graph is revealed. The graph G is input as an adjacency matrix, that is, a real symmetric matrix. The output is a three-dimensional plot of labeled points and lines connecting them. The points correspond to the vertices in the graph and the lines correspond to the edges in the graph, that is, there will be a line connecting point i with point j when is nonzero.
|
•
|
The location of the vertices of the graph is determined as follows. Let , , and be three eigenvectors of G with corresponding second, third, and fourth largest eigenvalue in absolute value. Then the (x,y,z) co-ordinates of the ith vertex of G is ().
|
•
|
Sometimes other symmetries in the graph may be seen by using the other eigenvectors. If the optional argument is specified, where e1, e2, e3 are vertex numbers (integers from 1 through the number of vertices) then the eigenvectors corresponding to the eigenvalues of these relative magnitudes are used.
|
•
|
Remaining arguments are interpreted as options which are specified as equations of the form option = value. The remaining options are the same as those available for the plot3d command. See plot3d[option] for further information.
|
|
|
Examples
|
|
Important: The plots[graphplot3d] command has been deprecated. Use the superseding command GraphTheory[DrawGraph] instead.
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
|
|
|