📜  获取两行以上的绘图标题 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.398000             🧑  作者: Mango

代码示例1
x <- rnorm(3)
y <- rnorm(3)
plot(x, y, main=paste("X:",1," ","Y:", 2," ","\nZ:",3))

# \n in main= paste() environment produces new line in plot titles