legendright | R Documentation |
plot graph with legend right of it
legendright(p, l, legend.width = 8, legend.unit = "lines")
qmixtile(
object,
purecol = stop("pure component colors needed."),
mapping = aes_string(x = "x", y = "y", fill = "spc"),
...,
map.tileonly = FALSE
)
normalize.colrange(x, na.rm = TRUE, legend = FALSE, n = 100, ...)
normalize.range(x, na.rm = TRUE, legend = FALSE, n = 100, ...)
normalize.null(x, na.rm = TRUE, legend = FALSE, n = 100, ...)
normalize.minmax(x, min = 0, max = 1, legend = FALSE, n = 100, ...)
qmixlegend(
x,
purecol,
dx = 0.33,
ny = 100,
labels = names(purecol),
normalize = normalize.colrange,
...
)
colmix.rgb(
x,
purecol,
against = 1,
sub = TRUE,
normalize = normalize.colrange,
...
)
p |
plot object |
l |
legend object |
legend.width , legend.unit |
size of legend part |
object |
matrix to be plotted with mixed colour channels |
purecol |
pure component colours, names determine legend labels |
mapping |
see |
... |
|
map.tileonly |
if |
x |
matrix with component intensities in columns |
na.rm |
see |
legend |
should a legend be produced instead of normalized values? |
n |
of colours to produce in legend |
min |
numeric with value corresponding to "lowest" colour for each column |
max |
numeric with value corresponding to "hightest" colour for each column |
dx |
width of label bar |
ny |
number of colours in legend |
labels |
component names |
normalize |
function to normalize the values. |
against |
value to mix against (for |
sub |
subtractive color mixing? |
invisible NULL
list with components ymin, max and fill to specify value and fill colour value (still numeric!) for the legend, otherwise the normalized values
ggplot object with legend
character with colours
Claudia Beleites
Claudia Beleites
Claudia Beleites
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.