将标题放在图的左上角

Put title on the topleft side of the plot

是否可以更改标题 "main" 在条形图中的位置?

我需要把总标题放在情节的左上角。

DF.Rain.Sum <- c(1015, 1153, 1316, 1478)
Alt <- c(1350, 1700, 2000, 2300)

bplt <-barplot(DF.Rain.Sum  , main=" ",
    xlab="Sum of Rain (mm)", ylab="Altitude (m)", col=c("darkblue"), legend 
= rownames(Alt),beside=TRUE, names.arg=Alt , horiz=TRUE, xlim=c(0,2000), 
las=1)

title("a.", cex.main = 2,   font.main= 4, col.main= "blue")

使用 adj 参数:

title("a.", cex.main = 2,   font.main= 4, col.main= "blue", adj=0)