Labels the x-axis

xlabel(label = "", line = 3, ...)

Arguments

label

The title of the axis, to be displayed on image. Text can be input in the form of pseudo-LaTeX code within quotes. See TeX for more details.

line

The distance from the axis the text will be displayed.

...

Extra parameters. These parameters are fed into mtext().

See also

TeX

Examples

library(dsmodels) fun <- function(X,Y) { list( X/exp(Y), Y/exp(X) ) } model <- dsmodel(fun, title = "Cool Function!") model + dsrange(-2:3,-2:3, discretize = .09) + xlabel("X-Axis shows $\\alpha$!") + ylabel("Y-Axis shows $\\beta$!")