
Last chance! 50% off unlimited learning
Sale ends in
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, ...)
igraph.plotting
fo the detailsNULL
, invisibly.rglplot
is considered to be highly experimental. It
is not very useful either. See igraph.plotting
for the
possible arguments.igraph.plotting
,
plot.igraph
for the 2D version,
tkplot
for interactive graph drawing in 2D.g <- graph.lattice( c(5,5,5) )
coords <- layout.fruchterman.reingold(g, dim=3)
rglplot(g, layout=coords)
Run the code above in your browser using DataLab