|
SOLUTIONS
|
GRAPH UTILITIES 程序包 符号
GraphCoordinates3D
calculates a visually appealing 3D layout of the vertices of a graph g and returns the coordinates of the vertices.
更多信息更多信息
- To use
, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
returns the coordinates of the vertices as computed using a graph-drawing algorithm in 3D. It is useful when the coordinates of the vertices are needed, rather than a drawing of the graph, or when one needs to draw a graph repeatedly using the same layout but different style.
accepts the same options as GraphPlot.
范例范例打开所有单元关闭所有单元
基本范例 (1)基本范例 (1)
| In[1]:= |
| In[2]:= |
| In[3]:= |
| Out[3]= | ![]() |
This gives the coordinates of the vertices in the previous drawing:
| In[4]:= |
| Out[4]= | ![]() |
This plots the graph with two different styles, using the layout already calculated:
| In[5]:= |
| Out[5]= | ![]() |
The relationship between vertices and coordinates is given by the following:
| In[6]:= |
| Out[6]= | ![]() |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »





