hyper_3D | R Documentation |
This function renders a 2D or 3D max-plus or min-plus tropical hyperplane
draw.thyper(D, ext, min.ax, max.ax, plot = FALSE, tadd = max)
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 |
2D or 3D rendering of max-plus or min-plus tropical hyperplane
David Barnhill david.barnhill@nps.edu
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.