簡體   English   中英

在R中主標題下加副標題或y軸下加副標題

[英]Adding subtitle under the main title or adding a subtitle under y axis in R

我想知道如何在主標題和 y 軸下添加副標題。

更新

聽起來這就是你想要的:

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)

示例_3.png

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM