R:在ggplot轴标题的标题中添加水平线

时间:2021-02-25 14:12:59

标签: r ggplot2 axis-labels

R/RStudio 的新手,并认为必须有一种更简洁的方法在 x 和 y 轴标题的左侧和右侧添加一行。

这是我的代码:

labs(title = "Title of my heatmap", 
               x = "\n <----------- Speed ----------> \n(- slow to + fast)",
               y = "\n <----------- Time ----------> \n(- low to + high)")

0 个答案:

没有答案