Labels the x-axis
xlabel(label = "", line = 3, ...)
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 |
---|---|
line | The distance from the axis the text will be displayed. |
... | Extra parameters. These parameters are fed into |
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$!")