在R中的主标题下添加副标题或在y轴下添加副标题

Mar*_*cie 4 r

我想知道如何在主标题和 y 轴下添加副标题。

jar*_*rot 6

更新

听起来这就是你想要的:

plot(mtcars[3:4])
title(main = "My Plot")
mysubtitle = "Subtitle here"
anothersubtitle = "Another subtitle here"
mtext(side = 3, line = 0.25, at = 1, adj = -2, mysubtitle)
mtext(side = 2, line = 2, anothersubtitle)
Run Code Online (Sandbox Code Playgroud)

示例_3.png