3
是否可以改变条形图中标题“主”的位置?把标题放在剧情的最前面
我需要把总题放在剧情的最前面。
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")
尝试'多行文字(在= 0,侧= 3,cex.main = 2,font.main = 4,col.main =“blue”)'而不是'title' ' –
谢谢,它的工作原理 – Mori