1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/plot.R
\name{rglplot}
\alias{rglplot}
\alias{rglplot.igraph}
\title{3D plotting of graphs with OpenGL}
\usage{
rglplot(x, ...)
}
\arguments{
\item{x}{The graph to plot.}
\item{\dots}{Additional arguments, see \code{\link{igraph.plotting}} for the
details}
}
\value{
\code{NULL}, invisibly.
}
\description{
Using the \code{rgl} package, \code{rglplot} plots a graph in 3D. The plot
can be zoomed, rotated, shifted, etc. but the coordinates of the vertices is
fixed.
}
\details{
Note that \code{rglplot} is considered to be highly experimental. It is not
very useful either. See \code{\link{igraph.plotting}} for the possible
arguments.
}
\examples{
\dontrun{
g <- make_lattice( c(5,5,5) )
coords <- layout_with_fr(g, dim=3)
rglplot(g, layout=coords)
}
}
\author{
Gabor Csardi \email{csardi.gabor@gmail.com}
}
\seealso{
\code{\link{igraph.plotting}}, \code{\link{plot.igraph}} for the 2D
version, \code{\link{tkplot}} for interactive graph drawing in 2D.
}
\keyword{graphs}
|