plotLines2D: Plot the lines of a linear mathematical program (Ax = b)

View source: R/plot.R

plotLines2DR Documentation

Plot the lines of a linear mathematical program (Ax = b)

Description

Plot the lines of a linear mathematical program (Ax = b)

Usage

plotLines2D(A, b, nonneg = rep(TRUE, ncol(A)), latex = FALSE, ...)

Arguments

A

The constraint matrix.

b

Right hand side.

nonneg

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.

latex

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.

Value

A ggplot object.

Note

In general you will properly use plotPolytope() instead of this function.

Author(s)

Lars Relund lars@relund.dk

See Also

plotPolytope().


relund/gMOIP documentation built on Feb. 23, 2024, 12:11 p.m.