image_add_textAcode {KaradaColor} | R Documentation |
Add to image() command text and color code
Description
image_add_textAcode
This function add to image() command text and color code.
Usage
image_add_textAcode(
coldata,
xlab = NULL,
ylab = NULL,
colornames = "color",
showcode = TRUE
)
Arguments
coldata |
Color data. Only for matrix class. |
xlab |
x axis label. |
ylab |
x axis label. |
colornames |
Color name. |
showcode |
Add a color code to the plot. |
Value
Display hex color code and color on console.
Examples
image_add_textAcode(coldata = t(as.matrix(c("red", "#ff48ac"))),
colornames = "color", showcode = TRUE)
[Package KaradaColor version 0.1.5 Index]