image_add_textAcode {KaradaColor} | R Documentation |
image_add_textAcode
This function add to image() command text and color code.
image_add_textAcode(
coldata,
xlab = NULL,
ylab = NULL,
colornames = "color",
showcode = TRUE
)
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. |
Display hex color code and color on console.
image_add_textAcode(coldata = t(as.matrix(c("red", "#ff48ac"))),
colornames = "color", showcode = TRUE)