Description Usage Arguments Examples
View source: R/plot_functions.R
This function produces a gradient scale that can be used with a DIDACT grid plot.
1 2 3 | make.gradient.scale(spectrum = make.spectrum(c("white", "black"), n =
100), mode = c("horizontal", "vertical"), utility.type = c("power",
"contrasts"), title.cex = 1.5, axis.cex = 1.5, text.cex = 1.5)
|
spectrum |
DEFAULT: make.spectrum(c("white", "black"), n = 100). The color spectrum to be used in the gradient. |
mode |
DEFAULT: "horizontal". Specifies whether the gradient is horizontally or vertically oriented. |
utility.type |
DEFAULT: "power". Specifies whether the utility function is power or contrasts. |
title.cex |
DEFAULT: 1.5. Specifies the text size of the gradient title. |
axis.cex |
DEFAULT: 1.5. Specifies the text size of the gradient labels. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.