zonogon-plot {zonohedra}R Documentation

plot a zonogon

Description

Plot a zonogon object, with many options.

Usage

## S3 method for class 'zonogon'
plot( x, orientation=TRUE, normals=FALSE, elabels=FALSE, 
                            tiling=FALSE,  tlabels=FALSE,
                            trans2=FALSE, trans2type='both', ... )

Arguments

x

a zonogon object as returned by the constructor zonogon()

orientation

if TRUE then draw the edges with orientation arrows. Otherwise just draw unoriented line segments.

normals

if TRUE then draw an outward-pointing unit normal on each edge

elabels

if TRUE then label each edge with its generator

tiling

if TRUE then draw the standard tiling of the zonogon by parallelograms

tlabels

if TRUE then label each parallelogram in the tiling with its generators. If tiling is FALSE then this is ignored.

trans2

if TRUE then draw the image of the 2-transition subcomplex of the unit cube [0,1]^n, in the color blue.
trans2 can also be an integer 2-vector defining a range of levels of the subcomplex, where the level of a vertex of the n-cube is the number of 1s. Both integers should be between 0 and n.

trans2type

which part of the 2-transition subcomplex to draw. It can be 'BP' for bandpass (aka Type 1), 'BS' for bandstop (aka Type 2), or 'both' for both.

...

not used

Details

A white dot is plotted at the center of the zonogon. A suitable is title is added above the plot. If the zonogon was returned from spherize.zonotope() the string "[spherized]" is added to the title.

Value

The function returns TRUE; or FALSE in case of error.

See Also

zonogon(), spherize.zonotope()


[Package zonohedra version 0.3-0 Index]