hyper_3D {TML}R Documentation

2D or 3D rendering of max-plus or min-plus tropical hyperplane

Description

This function renders a 2D or 3D max-plus or min-plus tropical hyperplane

Usage

draw.thyper(D, ext, min.ax, max.ax, plot = FALSE, tadd = max)

Arguments

D

point in the tropical projective torus representing the apex of the hyperplane

ext

scalar; indicates how far the hyperplane should extend

min.ax

scalar; value applied to define the minimum limits of the axes of the plot

max.ax

scalar; value applied to define the maximum limits of the axes of the plot

plot

logical; if true produces a new plot otherwise overlays tropical hyperplane on existing plot

tadd

function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max

Value

2D or 3D rendering of max-plus or min-plus tropical hyperplane

Author(s)

David Barnhill david.barnhill@nps.edu

Examples

# 2D Example
D <-c(0,0,0)
ext<-4
min.ax<- 5
max.ax<- 5
draw.thyper(D,ext,min.ax,max.ax,plot=TRUE)

# 3D Example
D <-c(0,0,0,0)
ext<-4
min.ax<- 5
max.ax<- 5
draw.thyper(D,ext,min.ax,max.ax,plot=TRUE)
draw.thyper(D,ext,min.ax,max.ax,plot=TRUE,tadd=min)

[Package TML version 2.3.0 Index]