Plot the lines of a linear mathematical program (Ax = b)
plotLines2D(A, b, nonneg = rep(TRUE, ncol(A)), latex = FALSE, ...)
A ggplot
object.
The constraint matrix.
Right hand side.
A boolean vector of same length as number of variables. If entry k is TRUE then variable k must be non-negative and the line is plotted too.
If True
make latex math labels for TikZ.
Further arguments passed on the the ggplot
plotting functions. This must be done as
lists. Currently the following arguments are supported:
argsTheme
: A list of arguments for ggplot2::theme
.
Lars Relund lars@relund.dk
plotPolytope()
.