【发布时间】:2020-07-26 04:28:21
【问题描述】:
我在 y 轴上有月份编号的热图。我想将数字更改为月份名称(例如,“Jan.”、“Feb.”、“Mar.”、“Apr.”)。 这是热图
这是我的代码:
heatmap(data, Rowv=NA, Colv=NA, margins=c(3,3),
col = magma(50), scale="none", xlab = "Hours",
ylab = "Month")
【问题讨论】:
-
@MrFlick 成功了 :) 你的方式很有趣!
标签: r heatmap axis-labels