plotpolygon | R Documentation |
A zonohedron is pointed iff there is a vector n
so the inner product of all the zonohedron generators with n is positive.
In other terminology, it is pointed iff there is an open halfspace
that contains all the generators.
When n exists, a neighborhood of 0 can be cut by a plane
orthogonal to n and the intersection is a polygon.
Since n is not unique, the polygon is only unique up
to a 2D projective transformation.
plotpolygon( x, normal=NULL, points=TRUE, labels=TRUE )
x |
a zonohedron object as returned by the constructor |
normal |
the vector n to use - a non-zero numeric vector of length 3.
If it is given, the validity is checked and if invalid it is an error.
|
points |
If |
labels |
If |
The selected normal vector n is added to the title of the plot.
The function returns TRUE
; or FALSE
in case of error.
zonohedron()
,
plot.zonohedron()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.