Use this if you are using igraph from R
rglplot {igraph} | R Documentation |
Using the rgl
package, rglplot
plots a graph in 3D. The plot
can be zoomed, rotated, shifted, etc. but the coordinates of the vertices is
fixed.
rglplot(x, ...)
x |
The graph to plot. |
... |
Additional arguments, see |
Note that rglplot
is considered to be highly experimental. It is not
very useful either. See igraph.plotting
for the possible
arguments.
NULL
, invisibly.
Gabor Csardi csardi.gabor@gmail.com
igraph.plotting
, plot.igraph
for the 2D
version, tkplot
for interactive graph drawing in 2D.
## Not run:
g <- make_lattice( c(5,5,5) )
coords <- layout_with_fr(g, dim=3)
rglplot(g, layout=coords)
## End(Not run)