Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图让情节的标题与情节的最右边部分对齐。
为了澄清,在下面的示例中,绘图的标题与中心对齐。
op <- par(mfrow=c(2, 2)) hist(islands) utils::str(hist(islands, col="gray", labels = TRUE))
对主标题和图形参数 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)