有没有一种方法可以右对齐R中基本(历史)情节的主标题?

有没有一种方法可以右对齐R中基本(历史)情节的主标题?,r,plot,R,Plot,我试图让一个情节的标题与情节的最右边对齐 为了澄清,在下面的示例中,绘图的标题与中心对齐 op <- par(mfrow=c(2, 2)) hist(islands) utils::str(hist(islands, col="gray", labels = TRUE)) op对主标题和图形参数adj使用单独的函数: op <- par(mfrow=c(2, 2)) hist(islands,main=NULL) title("Histogram of islands",adj=1

我试图让一个情节的标题与情节的最右边对齐

为了澄清,在下面的示例中,绘图的标题与中心对齐

op <- par(mfrow=c(2, 2))
hist(islands)
utils::str(hist(islands, col="gray", labels = TRUE))

op对主标题和图形参数adj使用单独的函数:

op <- par(mfrow=c(2, 2))
hist(islands,main=NULL)
title("Histogram of islands",adj=1)
utils::str(hist(islands, col="gray", labels = TRUE,main=NULL))
title("Histogram of islands",adj=1)

op就是这个!谢谢可以,但不是必需的:hist(孤岛,adj=1)。但它的“标题”被记录在案。@Dietermene这也将证明轴心国的标签是正确的。