# 基础作图法绘制颜色图中色块与数值的对应关系
par(mar = rep(0, 4))
x = matrix(sample(24), 8)
image(1:8, 1:3, x, col = heat.colors(24), axes = FALSE, ann = FALSE)
text(rep(1:8, 3), rep(1:3, each = 8), as.vector(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.