| plot2trans | R Documentation |
The 2-transition surface has the topology of a sphere and is contained in the zonohedron. All the facets are parallelograms. The surface is centrally symmetric, with the same center as the zonohedron. The surface may have self-intersections.
plot2trans( x, type='ef', ecol='black', econc=FALSE,
fcol='yellow', falpha=0.5, level=NULL,
normals=FALSE, both=TRUE, bgcol="gray40", add=FALSE, ... )
x |
a zonohedron object as returned by the constructor |
type |
a character string with what parts to draw.
If |
ecol |
The color to use when drawing the edges. |
econc |
If |
fcol |
The color to use when drawing the facets. |
falpha |
The opacity to use when drawing the facets. |
level |
An integer vector which is a subvector of |
normals |
If |
both |
if |
bgcol |
the background color |
add |
If |
... |
not used |
Facets and regular edges are drawn with rgl::quads3d().
Concave edges are drawn with rgl::segments3d().
Points are drawn with rgl::points3d().
The function returns TRUE; or FALSE in case of error.
The package rgl is required for 3D plots. A large black point is drawn at 0, a large white point at the "white point", and a 50% gray point at the center. A line from the black point to the white point is also drawn.
zonohedron(),
plothighertrans(),
plot.zonohedron()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.